<?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: Summarizing rows in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Summarizing-rows/m-p/799279#M384635</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If you want to calculate the column ACUM which you highlight in your image, you could try the steps below.&lt;/P&gt;
&lt;P&gt;1. Create the index column in query editor.&lt;/P&gt;
&lt;P&gt;2. Create the group index calculated column with dax.&lt;/P&gt;
&lt;PRE&gt;group index = 
RANKX (
    FILTER ( 'Table', EARLIER ( 'Table'[ID] ) = 'Table'[ID] ),
    'Table'[Index],
    ,
    ASC
)
&lt;/PRE&gt;
&lt;P&gt;3. Create the measure with the formula below.&lt;/P&gt;
&lt;PRE&gt;Measure =
CALCULATE (
    SUM ( 'Table'[STATUS_] ),
    FILTER (
        ALLEXCEPT ( 'Table', 'Table'[ID] ),
        'Table'[group index] &amp;lt;= MAX ( 'Table'[group index] )
    )
)
&lt;/PRE&gt;
&lt;P&gt;Here is the output.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If you still need help, free to ask.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Cherry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2019 08:05:44 GMT</pubDate>
    <dc:creator>v-piga-msft</dc:creator>
    <dc:date>2019-09-23T08:05:44Z</dc:date>
    <item>
      <title>Summarizing rows</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Summarizing-rows/m-p/790821#M380755</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I spent a lot of time on this and now I'm looking for help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to summarize lines of an ID. It sounds easy, but the result that I need is a little bit different, and I'm showing it below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I'm looking for the yellow column. All the others I have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using SUM, SUMX, CALCULATE, SUMMARIZE, .....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is anyone with an idea to solve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 15:25:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Summarizing-rows/m-p/790821#M380755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-12T15:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Summarizing rows</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Summarizing-rows/m-p/790827#M380759</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MaxAcum = CALCULATE(MAX(Table[Total]);ALLEXCEPT(Table;Table[ID]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Sep 2019 15:31:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Summarizing-rows/m-p/790827#M380759</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-12T15:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Summarizing rows</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Summarizing-rows/m-p/790832#M380763</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for so fast answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It didn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The TOTAL column has the same value to all rows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 15:39:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Summarizing-rows/m-p/790832#M380763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-12T15:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Summarizing rows</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Summarizing-rows/m-p/790836#M380765</link>
      <description>&lt;P&gt;sorry brother, i had understood that u need the last value accumulated, but i need a function to sum each value through status =/&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 15:45:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Summarizing-rows/m-p/790836#M380765</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-12T15:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Summarizing rows</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Summarizing-rows/m-p/790840#M380766</link>
      <description>&lt;P&gt;Relax and thanks for the attempt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 15:46:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Summarizing-rows/m-p/790840#M380766</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-12T15:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Summarizing rows</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Summarizing-rows/m-p/799279#M384635</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If you want to calculate the column ACUM which you highlight in your image, you could try the steps below.&lt;/P&gt;
&lt;P&gt;1. Create the index column in query editor.&lt;/P&gt;
&lt;P&gt;2. Create the group index calculated column with dax.&lt;/P&gt;
&lt;PRE&gt;group index = 
RANKX (
    FILTER ( 'Table', EARLIER ( 'Table'[ID] ) = 'Table'[ID] ),
    'Table'[Index],
    ,
    ASC
)
&lt;/PRE&gt;
&lt;P&gt;3. Create the measure with the formula below.&lt;/P&gt;
&lt;PRE&gt;Measure =
CALCULATE (
    SUM ( 'Table'[STATUS_] ),
    FILTER (
        ALLEXCEPT ( 'Table', 'Table'[ID] ),
        'Table'[group index] &amp;lt;= MAX ( 'Table'[group index] )
    )
)
&lt;/PRE&gt;
&lt;P&gt;Here is the output.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If you still need help, free to ask.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Cherry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 08:05:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Summarizing-rows/m-p/799279#M384635</guid>
      <dc:creator>v-piga-msft</dc:creator>
      <dc:date>2019-09-23T08:05:44Z</dc:date>
    </item>
  </channel>
</rss>

