<?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: Dynamic Cumulative or Total Ranning in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Cumulative-or-Total-Ranning/m-p/3453214#M131579</link>
    <description>&lt;P&gt;Thanks for your answer. could you please share with me the formula, which I can&amp;nbsp; sort the cumulative amount.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Sep 2023 09:14:20 GMT</pubDate>
    <dc:creator>Talal141218</dc:creator>
    <dc:date>2023-09-29T09:14:20Z</dc:date>
    <item>
      <title>Dynamic Cumulative or Total Ranning</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Cumulative-or-Total-Ranning/m-p/3449886#M131381</link>
      <description>&lt;P&gt;Hi Profis,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have question regarding to cumulative measure. I create i cumulative measure as below :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RT =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[CM_Stock_Amount_ExclRes_piec]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Dim_Item&lt;/SPAN&gt;&lt;SPAN&gt;[ItemNo]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;Dim_Item&lt;/SPAN&gt;&lt;SPAN&gt;[ItemNo]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;max&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Dim_Item&lt;/SPAN&gt;&lt;SPAN&gt;[ItemNo]&lt;/SPAN&gt;&lt;SPAN&gt;))). In Addition when i sort the items rely on the amounts the Formula will not works anymore&amp;nbsp; , please look at the Pics:&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Before&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;After sorting depend on Quantity :&amp;nbsp;&lt;/P&gt;&lt;img /&gt;&lt;P&gt;Note : Earlier measure dos't work with my Power BI&lt;/P&gt;&lt;P&gt;Thanks in Advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Sep 2023 06:55:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Cumulative-or-Total-Ranning/m-p/3449886#M131381</guid>
      <dc:creator>Talal141218</dc:creator>
      <dc:date>2023-09-28T06:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Cumulative or Total Ranning</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Cumulative-or-Total-Ranning/m-p/3451147#M131470</link>
      <description>&lt;P&gt;Is there any Expert can help me in this issue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 06:56:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Cumulative-or-Total-Ranning/m-p/3451147#M131470</guid>
      <dc:creator>Talal141218</dc:creator>
      <dc:date>2023-09-28T06:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Cumulative or Total Ranning</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Cumulative-or-Total-Ranning/m-p/3452751#M131555</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="420267" data-lia-user-login="Talal141218" class="lia-mention lia-mention-user"&gt;Talal141218&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;It's normal, there's nothing wrong with it.&lt;/P&gt;
&lt;P&gt;For your measure calculation logic, it does a cumulative sum based on your "Item Number" field, when you sort the "Quantity" field in the table visual,&amp;nbsp;it doesn't change the logic of the calculation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team_Binbin Yu&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;, then please consider&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 02:48:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Cumulative-or-Total-Ranning/m-p/3452751#M131555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-29T02:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Cumulative or Total Ranning</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Cumulative-or-Total-Ranning/m-p/3453214#M131579</link>
      <description>&lt;P&gt;Thanks for your answer. could you please share with me the formula, which I can&amp;nbsp; sort the cumulative amount.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 09:14:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Cumulative-or-Total-Ranning/m-p/3453214#M131579</guid>
      <dc:creator>Talal141218</dc:creator>
      <dc:date>2023-09-29T09:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Cumulative or Total Ranning</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Cumulative-or-Total-Ranning/m-p/3462926#M132106</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="420267" data-lia-user-login="Talal141218" class="lia-mention lia-mention-user"&gt;Talal141218&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please try below steps:&lt;/P&gt;
&lt;P&gt;1. below is my test table&lt;/P&gt;
&lt;P&gt;Table:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;2. create a measure with below dax formula&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;cumulative =
VAR cur_quantity =
    SELECTEDVALUE ( 'Table'[Quantity] )
VAR tmp =
    FILTER ( ALL ( 'Table' ), [Quantity] &amp;gt;= cur_quantity )
RETURN
    SUMX ( tmp, [Quantity] )
&lt;/LI-CODE&gt;
&lt;P&gt;3. add a table visual with table fields and mesure&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Please refer the attached .pbix file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team_Binbin Yu&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;, then please consider&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 03:07:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Cumulative-or-Total-Ranning/m-p/3462926#M132106</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-06T03:07:03Z</dc:date>
    </item>
  </channel>
</rss>

