<?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: Cumulative sum for a summarize variable in DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-for-a-summarize-variable-in-DAX/m-p/3997875#M155483</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;Not quite sure what you mean, what is the error message it reports?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Community Support Team_ Scott Chang&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2024 08:52:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-06-18T08:52:36Z</dc:date>
    <item>
      <title>Cumulative sum for a summarize variable in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-for-a-summarize-variable-in-DAX/m-p/3996526#M155309</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a problem&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in my original table i had a measure that cumulates value in time and where filters works, it's :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM(table[Value]),&lt;/P&gt;&lt;P&gt;ALL(Date table),&lt;/P&gt;&lt;P&gt;FILTER(ALLSELECTED(Table[Date],Table[Date] &amp;lt;= DATE TABLE[Date]))&lt;BR /&gt;&lt;BR /&gt;I have another table&amp;nbsp; where the summarize results in the roiginal table&lt;BR /&gt;VAR _t1 = SUMMARIZE(new table,table[ID] (where id is Value + Key + Date),"Date",MAX(New table[Date]) etc ..;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Difference between Old table and new table is that the new table is the old table but with duplicates&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to get back my cumulatives values but i don't know how to do this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CALCULATE(SUMX(_t1,[Value]),ALL(date table),FILTER(_t1,[Date]&amp;lt;=MAX(date table[date]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it don't work because it don't cumulates my value and don't have value that i had before&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know how to fix this problem ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thnak you in advance&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 15:57:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-for-a-summarize-variable-in-DAX/m-p/3996526#M155309</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-17T15:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum for a summarize variable in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-for-a-summarize-variable-in-DAX/m-p/3996607#M155333</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;No need for CALCULATE, just use a SUMX and your FILTER.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 16:43:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-for-a-summarize-variable-in-DAX/m-p/3996607#M155333</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-06-17T16:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum for a summarize variable in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-for-a-summarize-variable-in-DAX/m-p/3997187#M155419</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;Try the following expression:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Cumulative Value = 
VAR CurrentDate = MAX('Date Table'[Date])
VAR FilteredTable = FILTER(
    ALL('Date Table'),
    'Date Table'[Date] &amp;lt;= CurrentDate
)
RETURN
SUMX(
    FILTER(
        _t1,
        [Date] IN VALUES(FilteredTable[Date])
    ),
    [Value]
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope it helps!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Community Support Team_ Scott Chang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 02:12:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-for-a-summarize-variable-in-DAX/m-p/3997187#M155419</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-18T02:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum for a summarize variable in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-for-a-summarize-variable-in-DAX/m-p/3997788#M155476</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It don't work on the step : VALUES(FilteredTable[Date]) because he don't want to recognize FilteredTable ...&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 08:20:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-for-a-summarize-variable-in-DAX/m-p/3997788#M155476</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-18T08:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative sum for a summarize variable in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-for-a-summarize-variable-in-DAX/m-p/3997875#M155483</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;Not quite sure what you mean, what is the error message it reports?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Community Support Team_ Scott Chang&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 08:52:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-sum-for-a-summarize-variable-in-DAX/m-p/3997875#M155483</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-18T08:52:36Z</dc:date>
    </item>
  </channel>
</rss>

