<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SKU Distribution Trend? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464073#M66871</link>
    <description>&lt;P&gt;Please filter out null&lt;/P&gt;</description>
    <pubDate>Tue, 19 Apr 2022 16:43:03 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-04-19T16:43:03Z</dc:date>
    <item>
      <title>SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2462041#M66696</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;I'm working with a client with about 4,000 SKUs in a given year. However, it is a very seasonal business, so only about 1,500 SKUs are in store at any given time. What I need to know is how often the SKU distribution changes - every day, every week, every month? Etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first thought was to do a distinct count of SKUs and then trend that over time, because it is unlikely I'll have exactly the same amount of SKUs each season. But that isn't perfect - ideally I'd have some kind of a matching function and let it tell me when it stops matching, but I'm not sure how to do that with that many SKUs. Any help is appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 18:15:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2462041#M66696</guid>
      <dc:creator>Thigs</dc:creator>
      <dc:date>2022-04-18T18:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2462074#M66698</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="337817" data-lia-user-login="Thigs" class="lia-mention lia-mention-user"&gt;Thigs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please calrify further: "&lt;SPAN&gt;&lt;EM&gt;ideally I'd have some kind of a matching function and let it tell me when it stops matching&lt;/EM&gt;"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 18:32:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2462074#M66698</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-18T18:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2462082#M66699</link>
      <description>&lt;P class="lia-align-left"&gt;Sure thing, and thanks for the help!&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;Ideally, I'd have some kind of function that would look on a specific day, say day 2, and see how many of the SKUs are the exact same as in the previous day (day 1). If more than 90% of the SKUs were a match, it would return something like "match", if less than 90% were a match it would return something like "Change". Then I would calculate on average how many changes happened during a period, say during 90 days.&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;While I know there are matching formulas, I'm not sure how to make one that only looks at the previous day, and I'm not sure how to tell it "hey, if it matches 90%, we're good".&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 18:37:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2462082#M66699</guid>
      <dc:creator>Thigs</dc:creator>
      <dc:date>2022-04-18T18:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2462106#M66700</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="337817" data-lia-user-login="Thigs" class="lia-mention lia-mention-user"&gt;Thigs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It depends. Let's say we're looking at day level, then we can retrieve the VALUES of the SKU's of the current date.&amp;nbsp;&lt;BR /&gt;Suppose the dates are continuous (there are other solutions if not) then the previous date would be the current date - 1. We can use this date to CALCULATE the VALUES of SKU's of the previous date. Then simply we can DIVIDE the COUNTROWS of the INTERSECT between the two VALUES over the COUNTOWS of VALUES of the current date. Would that make sense to you?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 18:51:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2462106#M66700</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-18T18:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2462115#M66701</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="337817" data-lia-user-login="Thigs" class="lia-mention lia-mention-user"&gt;Thigs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Her is an example&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Count-of-carried-Keys-Stories-from-one-sprint-to-another-sprint/m-p/2461871#M66672" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/Count-of-carried-Keys-Stories-from-one-sprint-to-another-sprint/m-p/2461871#M66672&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 19:06:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2462115#M66701</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-18T19:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2462215#M66710</link>
      <description>&lt;P&gt;Hi! Ok, this looks helpful but I'm still confused.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a summary table with the date and SKU of each. Now, for this formula, do I need to make a column so it iterates, or a measure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To me, it seems like I'd do -&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Match Percent = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'SKU Distribution Table'[SKUs]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'SKU Distribution Table'[Date Only]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;DATEADD&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'SKU Distribution Table'[Date Only]&lt;/SPAN&gt;&lt;SPAN&gt; -&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;Or something like that to get the values of the date prior.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Apr 2022 21:12:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2462215#M66710</guid>
      <dc:creator>Thigs</dc:creator>
      <dc:date>2022-04-18T21:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2462223#M66711</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="337817" data-lia-user-login="Thigs" class="lia-mention lia-mention-user"&gt;Thigs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope by summary table you mean table visual. Then you can create a measure. To retrieve the table of previous SKU's you need to use CALCULATETABLE.&lt;/P&gt;&lt;P&gt;DATEADD might not work being time intelligence function therefore you can use&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CALCULATETABLE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'SKU Distribution Table'[SKUs]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'SKU Distribution Table'[Date Only]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'SKU Distribution Table'[Date Only])&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;-&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 21:42:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2462223#M66711</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-18T21:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2463807#M66842</link>
      <description>&lt;P&gt;I'm getting this error -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Here is a screenshot of my table -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 14:35:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2463807#M66842</guid>
      <dc:creator>Thigs</dc:creator>
      <dc:date>2022-04-19T14:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2463820#M66844</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="337817" data-lia-user-login="Thigs" class="lia-mention lia-mention-user"&gt;Thigs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have added a column. Go back to the query editor and send some screenshots. It should not a problem to fix it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 14:39:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2463820#M66844</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-19T14:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464052#M66869</link>
      <description>&lt;P&gt;SKU Count is just a count of SKUs - at first I thought that was what you meant by values.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 16:30:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464052#M66869</guid>
      <dc:creator>Thigs</dc:creator>
      <dc:date>2022-04-19T16:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464072#M66870</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 16:40:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464072#M66870</guid>
      <dc:creator>Thigs</dc:creator>
      <dc:date>2022-04-19T16:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464073#M66871</link>
      <description>&lt;P&gt;Please filter out null&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 16:43:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464073#M66871</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-19T16:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464077#M66872</link>
      <description>&lt;P&gt;I just tried that, it didn't help&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 16:44:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464077#M66872</guid>
      <dc:creator>Thigs</dc:creator>
      <dc:date>2022-04-19T16:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464151#M66877</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="337817" data-lia-user-login="Thigs" class="lia-mention lia-mention-user"&gt;Thigs&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Sorry I got distracted by something else.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the code you have used. Can you please share? It is a measure orca calculated column?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 17:25:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464151#M66877</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-19T17:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464278#M66893</link>
      <description>&lt;P&gt;No worries, thank you SO much for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Matching Percent = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATETABLE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'SKU Distributions'[SKU]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'SKU Distributions'[Date Only]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'SKU Distributions'[Date Only]&lt;/SPAN&gt;&lt;SPAN&gt;) -&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;SKU is simply a list of SKUs. Date Only is a list of dates (with the time stamp removed). Should it be a calculated column? I figured it was a measure since each row in the table is not one date - each row is a date + a sku.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Apr 2022 19:16:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464278#M66893</guid>
      <dc:creator>Thigs</dc:creator>
      <dc:date>2022-04-19T19:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464319#M66897</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="337817" data-lia-user-login="Thigs" class="lia-mention lia-mention-user"&gt;Thigs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is only part of the complete measure&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Matching Percent =
VAR CurrentSKUs =
    VALUES ( 'SKU Distributions'[SKU] )
VAR PreviousSKUs =
    CALCULATETABLE (
        VALUES ( 'SKU Distributions'[SKU] ),
        'SKU Distributions'[Date Only]
            = MAX ( 'SKU Distributions'[Date Only] ) - 1
    )
RETURN
    COUNTROWS ( INTERSECT ( PreviousSKUs, CurrentSKUs ) )&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 19 Apr 2022 19:46:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464319#M66897</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-19T19:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464371#M66905</link>
      <description>&lt;P&gt;Ok, so if I'm reading this correctly, this gives me the number of SKUs that are the same as the previous day. Then I need a percent, so I would divide by PreviousSKUs? Or do I need a new variable?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 20:35:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464371#M66905</guid>
      <dc:creator>Thigs</dc:creator>
      <dc:date>2022-04-19T20:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464520#M66914</link>
      <description>&lt;P&gt;Yes no need for new measure&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 00:59:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2464520#M66914</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-20T00:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2466619#M67022</link>
      <description>&lt;P&gt;I tried this this morning - it is back to giving me the error about not expecting multiple values. Here's what I changed the measure to (old one was working perfectly)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Matching Percent = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;CurrentSKUs&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;'SKU Distributions'[SKU]&lt;/SPAN&gt;&lt;SPAN&gt; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;PreviousSKUs&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATETABLE&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;'SKU Distributions'[SKU]&lt;/SPAN&gt;&lt;SPAN&gt; ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'SKU Distributions'[Date Only]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;'SKU Distributions'[Date Only]&lt;/SPAN&gt;&lt;SPAN&gt; ) - &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;NumRows&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;INTERSECT&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;PreviousSKUs&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;CurrentSKUs&lt;/SPAN&gt;&lt;SPAN&gt; ) )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;NumRows&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;PreviousSKUs&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Apr 2022 13:18:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2466619#M67022</guid>
      <dc:creator>Thigs</dc:creator>
      <dc:date>2022-04-20T13:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: SKU Distribution Trend?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2466832#M67030</link>
      <description>&lt;P&gt;You missed the COUNTROWS of "PreviousSKUs&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 14:36:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SKU-Distribution-Trend/m-p/2466832#M67030</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-20T14:36:47Z</dc:date>
    </item>
  </channel>
</rss>

