<?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: Cummulative sum in a column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2831307#M90211</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I cannot know the column name in your visualization that is placed in the left side of it.&lt;/P&gt;
&lt;P&gt;Please try something like below.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Cumulate percentage measure: =
VAR _percentage = [Percentage measure:]
VAR _cumulate =
    SUMX (
        FILTER (
            ALL ( 'TableName'[somethinglikeindexcolumn] ),
            [Percentage measure:] &amp;gt;= _percentage
        ),
        [Percentage measure:]
    )
RETURN
    _cumulate
&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 10 Oct 2022 14:14:42 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2022-10-10T14:14:42Z</dc:date>
    <item>
      <title>Cummulative sum in a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2830891#M90184</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;1) I have Grand Total column as below, from that i need to get % column value listed below.&lt;BR /&gt;Grand Total &lt;STRONG&gt;656,306&lt;/STRONG&gt;&lt;BR /&gt;to get 30% i need to do&amp;nbsp;&amp;nbsp;197,829/&lt;STRONG&gt;656,306 = 30%&lt;BR /&gt;&lt;/STRONG&gt;to get 13% i need to do&amp;nbsp;84,635/&lt;STRONG&gt;656,306 = 13% ....so on&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;2)How can i get the cummulative sum from the %column?&lt;BR /&gt;1st row values remains same as 30%.&lt;BR /&gt;2nd row column value - 30%+13% = 43%&lt;BR /&gt;3rd row column value - 30+11+13 = 54% etc...&lt;BR /&gt;&lt;BR /&gt;Please advise&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Grand Total656,306&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;%&lt;/TD&gt;&lt;TD&gt;**bleep**&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;197,829&lt;/TD&gt;&lt;TD&gt;30%&lt;/TD&gt;&lt;TD&gt;30%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;84,635&lt;/TD&gt;&lt;TD&gt;13%&lt;/TD&gt;&lt;TD&gt;43%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;69,128&lt;/TD&gt;&lt;TD&gt;11%&lt;/TD&gt;&lt;TD&gt;54%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;51,932&lt;/TD&gt;&lt;TD&gt;8%&lt;/TD&gt;&lt;TD&gt;61%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;45,210&lt;/TD&gt;&lt;TD&gt;7%&lt;/TD&gt;&lt;TD&gt;68%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;41,335&lt;/TD&gt;&lt;TD&gt;6%&lt;/TD&gt;&lt;TD&gt;75%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;35,815&lt;/TD&gt;&lt;TD&gt;5%&lt;/TD&gt;&lt;TD&gt;80%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;26,962&lt;/TD&gt;&lt;TD&gt;4%&lt;/TD&gt;&lt;TD&gt;84%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&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&gt;0%&lt;/TD&gt;&lt;TD&gt;100%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1,824&lt;/TD&gt;&lt;TD&gt;0%&lt;/TD&gt;&lt;TD&gt;100%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;480&lt;/TD&gt;&lt;TD&gt;0%&lt;/TD&gt;&lt;TD&gt;100%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;656,306&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Mon, 10 Oct 2022 11:57:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2830891#M90184</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-10T11:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cummulative sum in a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2831073#M90193</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Percentage measure: =
VAR _qty =
    SUM ( Data[Quantity] )
VAR _allqty =
    CALCULATE ( SUM ( Data[Quantity] ), REMOVEFILTERS () )
RETURN
    DIVIDE ( _qty, _allqty )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Cumulate percentage measure: =
VAR _qty =
    SUM ( Data[Quantity] )
VAR _cumulate =
    SUMX (
        FILTER ( ALL ( Data[Quantity] ), Data[Quantity] &amp;gt;= _qty ),
        [Percentage measure:]
    )
RETURN
    _cumulate
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 12:51:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2831073#M90193</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-10-10T12:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cummulative sum in a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2831170#M90202</link>
      <description>&lt;P&gt;Thank you so much for the Quick Response&lt;BR /&gt;Cumulative sum is not working for me&amp;nbsp;&lt;BR /&gt;if you can see Percentage % and Cummative Percentage values both are same.&amp;nbsp;&lt;BR /&gt;I have used the Measures which you shared. but values are same&amp;nbsp;&lt;BR /&gt;Please help ?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 13:25:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2831170#M90202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-10T13:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cummulative sum in a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2831239#M90207</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Could you please share your sample pbix file's link here? And then I can try to look into it to come up with a more accurate solution.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 13:51:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2831239#M90207</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-10-10T13:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cummulative sum in a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2831267#M90209</link>
      <description>&lt;P&gt;Sorry i cant share the pbix file it has huge sensitive data. But i can share the screenshot of the measure which i am using.&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>Mon, 10 Oct 2022 14:00:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2831267#M90209</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-10T14:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cummulative sum in a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2831307#M90211</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I cannot know the column name in your visualization that is placed in the left side of it.&lt;/P&gt;
&lt;P&gt;Please try something like below.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Cumulate percentage measure: =
VAR _percentage = [Percentage measure:]
VAR _cumulate =
    SUMX (
        FILTER (
            ALL ( 'TableName'[somethinglikeindexcolumn] ),
            [Percentage measure:] &amp;gt;= _percentage
        ),
        [Percentage measure:]
    )
RETURN
    _cumulate
&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 10 Oct 2022 14:14:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2831307#M90211</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-10-10T14:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cummulative sum in a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2831314#M90213</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I am using the Country in left column of the visual&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 14:19:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2831314#M90213</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-10T14:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cummulative sum in a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2831322#M90214</link>
      <description>&lt;P&gt;Please try the below whether it suits your requirememt.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Cumulate percentage measure: =
VAR _percentage = [Percentage measure:]
VAR _cumulate =
    SUMX (
        FILTER ( ALL ( 'TableName'[country] ), [Percentage measure:] &amp;gt;= _percentage ),
        [Percentage measure:]
    )
RETURN
    _cumulate
&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 10 Oct 2022 14:22:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2831322#M90214</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-10-10T14:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cummulative sum in a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2831332#M90215</link>
      <description>&lt;P&gt;When i use country column in the measure i am getting like below cummulative is not coming in correct way. Please see below&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cumulate percentage measure: = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&g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&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;[Percentage %]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&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;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;_cumulate&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 14:26:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2831332#M90215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-10T14:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cummulative sum in a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2832621#M90288</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;May I ask, do you want to cumulate by country code alphabetical order? Or, by QTY descending order?&lt;/P&gt;
&lt;P&gt;I think the measure is showing cumulate percentage by QTY descending order.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 03:01:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cummulative-sum-in-a-column/m-p/2832621#M90288</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-10-11T03:01:06Z</dc:date>
    </item>
  </channel>
</rss>

