<?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 Cumulative Sum Dynamic Requirement - Help in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-Dynamic-Requirement-Help/m-p/2615422#M76008</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am unable to achieve Dynamic Cumulative Sum with simple DIM_PRODUCT and Revenue Tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find below link to PBIX, the Rank works the way I want because it respects the filters but the cumulative sum just doesnt run at all. What seems to be the issue and may be tweak my dax to make it work , I am unable to figure this one out for 3 days now. I am trying to embed ABC classification into dimension table so my ABC classificaiton is dynamic based on highest revenue and filters selected from dimension table.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="236628" data-lia-user-login="AntrikshSharma" class="lia-mention lia-mention-user"&gt;AntrikshSharma&lt;/a&gt;,&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&amp;nbsp;can you please help&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;A title="CumulativeSumDynamicRank" href="https://ufile.io/i3ikj4bs" target="_blank" rel="noopener"&gt;https://ufile.io/i3ikj4bs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 02 Jul 2022 19:32:29 GMT</pubDate>
    <dc:creator>archerjayden</dc:creator>
    <dc:date>2022-07-02T19:32:29Z</dc:date>
    <item>
      <title>Cumulative Sum Dynamic Requirement - Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-Dynamic-Requirement-Help/m-p/2615422#M76008</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am unable to achieve Dynamic Cumulative Sum with simple DIM_PRODUCT and Revenue Tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find below link to PBIX, the Rank works the way I want because it respects the filters but the cumulative sum just doesnt run at all. What seems to be the issue and may be tweak my dax to make it work , I am unable to figure this one out for 3 days now. I am trying to embed ABC classification into dimension table so my ABC classificaiton is dynamic based on highest revenue and filters selected from dimension table.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="236628" data-lia-user-login="AntrikshSharma" class="lia-mention lia-mention-user"&gt;AntrikshSharma&lt;/a&gt;,&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&amp;nbsp;can you please help&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;A title="CumulativeSumDynamicRank" href="https://ufile.io/i3ikj4bs" target="_blank" rel="noopener"&gt;https://ufile.io/i3ikj4bs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jul 2022 19:32:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-Dynamic-Requirement-Help/m-p/2615422#M76008</guid>
      <dc:creator>archerjayden</dc:creator>
      <dc:date>2022-07-02T19:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum Dynamic Requirement - Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-Dynamic-Requirement-Help/m-p/2615797#M76051</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="190551" data-lia-user-login="archerjayden" class="lia-mention lia-mention-user"&gt;archerjayden&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I have created two measures which are 10 times faster than the ones you have. However they are still slow if you don't select anything in the slicer.&amp;nbsp;&lt;A href="https://we.tl/t-D7E7z2NQ8K" target="_blank" rel="noopener"&gt;https://we.tl/t-D7E7z2NQ8K&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Running Revenue 1 = 
IF (
    NOT ISBLANK ( [SalesRevenue] ),
    VAR CurrentRank = [ProductRankCol]
    VAR SelectedProducts = ALLSELECTED ( DIM_PRODUCT[SKU] )
    VAR ProductsAndSales = ADDCOLUMNS ( SelectedProducts, "@Revenue", [ProductRevenueMSR] )
    VAR ProductsWithSales = FILTER ( ProductsAndSales, [@Revenue] &amp;lt;&amp;gt; BLANK ( ) )
    VAR TopNProducts = TOPN ( CurrentRank, ProductsWithSales, [@Revenue] )
    RETURN
        SUMX ( TopNProducts, [@Revenue] )
)&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;Running Revenue 2 = 
IF (
    NOT ISBLANK ( [SalesRevenue] ),
    VAR CurrentRank = [ProductRankCol]
    VAR SelectedProducts = ALLSELECTED ( DIM_PRODUCT )
    VAR ProductsWithSales = FILTER ( SelectedProducts, DIM_PRODUCT[ProductRevenueCol] &amp;lt;&amp;gt; BLANK ( ) )
    VAR Products = SUMMARIZE ( ProductsWithSales, DIM_PRODUCT[SKU] )
    VAR ProductsAndSales = ADDCOLUMNS ( Products, "@Revenue", [ProductRevenueMSR] )
    VAR TopNProducts = TOPN ( CurrentRank, ProductsAndSales, [@Revenue] )
    RETURN
        SUMX ( TopNProducts, [@Revenue] )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 03 Jul 2022 16:31:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-Dynamic-Requirement-Help/m-p/2615797#M76051</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-07-03T16:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum Dynamic Requirement - Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-Dynamic-Requirement-Help/m-p/2615885#M76056</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;However they are still slow if you don't select anything in the slicer.&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thank you for providing these measures they work awesome, really great !&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is taking 4.68 Mins to render the visual without any filter selected, can anything be done about this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jul 2022 19:42:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-Dynamic-Requirement-Help/m-p/2615885#M76056</guid>
      <dc:creator>archerjayden</dc:creator>
      <dc:date>2022-07-03T19:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum Dynamic Requirement - Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-Dynamic-Requirement-Help/m-p/2616180#M76077</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="190551" data-lia-user-login="archerjayden" class="lia-mention lia-mention-user"&gt;archerjayden&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Cumulative totals based on dynamic ranking with 300,000+ products&amp;nbsp;all present in one table visual is very heavy and expensive calculation. For each row in the table visual, the whole table will be evaluated. I don't believe anything better can be achieved.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 03:27:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-Sum-Dynamic-Requirement-Help/m-p/2616180#M76077</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-07-04T03:27:35Z</dc:date>
    </item>
  </channel>
</rss>

