<?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: Binning dates in cumulative total measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Binning-dates-in-cumulative-total-measure/m-p/3261627#M120641</link>
    <description>&lt;P&gt;Thanks for the reply, but what i wanted to achieve is to get a running total where all entries within a month are summed up.&lt;/P&gt;&lt;P&gt;I found a solution that works, where i create a new column which equals the the binned date group and use this column in my measure:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Cumulative Total = 
CALCULATE(SUM(Fact[Amount]),
    FILTER(ALL(Fact[BinnedDate]),
        Fact[BinnedDate] &amp;lt;= MAX(Fact[BinnedDate])
        )
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2023 10:23:13 GMT</pubDate>
    <dc:creator>JakobH</dc:creator>
    <dc:date>2023-05-31T10:23:13Z</dc:date>
    <item>
      <title>Binning dates in cumulative total measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Binning-dates-in-cumulative-total-measure/m-p/3255189#M120183</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;&lt;BR /&gt;I have a "Cumulative Total" measure. I want to create a table/graph where cumulative amounts are displayed against months&lt;/P&gt;&lt;P&gt;Simply binning the dates does not work. Then only the sum for the specific months are displayed instead of the cumulative amount.&lt;/P&gt;&lt;P&gt;Any tips on how i can show the cumulative total against months?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Cumulative Total = 
CALCULATE(SUM(Fact[Amount]),
    FILTER(ALL(Fact[Date]),
        Fact[Date] &amp;lt;= MAX(Fact[Date])
        )
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 11:29:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Binning-dates-in-cumulative-total-measure/m-p/3255189#M120183</guid>
      <dc:creator>JakobH</dc:creator>
      <dc:date>2023-05-26T11:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Binning dates in cumulative total measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Binning-dates-in-cumulative-total-measure/m-p/3255550#M120223</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="509317" data-lia-user-login="JakobH" class="lia-mention lia-mention-user"&gt;JakobH&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are looking for a cumulative total that starts again every year you can try the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Cumulative total =
    CALCULATE(
        SUM( Fact[Amount] ),
        DATESYTD( Calendar[Date] )
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where Calendar is a table containing all your dates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I answered your question, please mark my post as a solution.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 14:13:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Binning-dates-in-cumulative-total-measure/m-p/3255550#M120223</guid>
      <dc:creator>Alf94</dc:creator>
      <dc:date>2023-05-26T14:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Binning dates in cumulative total measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Binning-dates-in-cumulative-total-measure/m-p/3261627#M120641</link>
      <description>&lt;P&gt;Thanks for the reply, but what i wanted to achieve is to get a running total where all entries within a month are summed up.&lt;/P&gt;&lt;P&gt;I found a solution that works, where i create a new column which equals the the binned date group and use this column in my measure:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Cumulative Total = 
CALCULATE(SUM(Fact[Amount]),
    FILTER(ALL(Fact[BinnedDate]),
        Fact[BinnedDate] &amp;lt;= MAX(Fact[BinnedDate])
        )
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 10:23:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Binning-dates-in-cumulative-total-measure/m-p/3261627#M120641</guid>
      <dc:creator>JakobH</dc:creator>
      <dc:date>2023-05-31T10:23:13Z</dc:date>
    </item>
  </channel>
</rss>

