<?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 Get cumulative total of month before min selected months in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-cumulative-total-of-month-before-min-selected-months/m-p/1009332#M12884</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am creating a Matrix where in the first column the value of a measure needs to show the cumulative total of all months before the minimal selected month. I could select multiple following months&lt;BR /&gt;So if I would select Jan, Feb, March. This column would give me the **bleep** total from December&lt;BR /&gt;For April May June this column would give me the **bleep** total from March&lt;BR /&gt;&lt;BR /&gt;I have a created cumulative total measure&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Voorz **bleep** = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE( [Mutatie voorziening];&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FILTER( ALL ('Calendar');&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Calendar'[Date] &amp;lt;= MAX('Calendar'[Date] )))&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;And a measure which gives me the cumulatieve total upon last month.&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;voorziening **bleep** begin periode = CALCULATE([Voorz **bleep**];DATEADD('Calendar'[Date];-1;MONTH))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This works fine if I only select one month in the date slycer. But if I would select multiple months it goes bananas.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I think it is because it takes the -1 from the max month. And I would like to take the -1 from the min month selected.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;can you Help me?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 06 Apr 2020 07:31:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-04-06T07:31:02Z</dc:date>
    <item>
      <title>Get cumulative total of month before min selected months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-cumulative-total-of-month-before-min-selected-months/m-p/1009332#M12884</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am creating a Matrix where in the first column the value of a measure needs to show the cumulative total of all months before the minimal selected month. I could select multiple following months&lt;BR /&gt;So if I would select Jan, Feb, March. This column would give me the **bleep** total from December&lt;BR /&gt;For April May June this column would give me the **bleep** total from March&lt;BR /&gt;&lt;BR /&gt;I have a created cumulative total measure&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Voorz **bleep** = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE( [Mutatie voorziening];&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FILTER( ALL ('Calendar');&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Calendar'[Date] &amp;lt;= MAX('Calendar'[Date] )))&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;And a measure which gives me the cumulatieve total upon last month.&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;voorziening **bleep** begin periode = CALCULATE([Voorz **bleep**];DATEADD('Calendar'[Date];-1;MONTH))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This works fine if I only select one month in the date slycer. But if I would select multiple months it goes bananas.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I think it is because it takes the -1 from the max month. And I would like to take the -1 from the min month selected.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;can you Help me?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 06 Apr 2020 07:31:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-cumulative-total-of-month-before-min-selected-months/m-p/1009332#M12884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-06T07:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Get cumulative total of month before min selected months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-cumulative-total-of-month-before-min-selected-months/m-p/1009810#M12893</link>
      <description>&lt;P&gt;Difficult to say, change your MAX to MIN?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 11:52:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-cumulative-total-of-month-before-min-selected-months/m-p/1009810#M12893</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-04-06T11:52:23Z</dc:date>
    </item>
  </channel>
</rss>

