<?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: Ho to calculate the cumulative of a mesure, month by month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ho-to-calculate-the-cumulative-of-a-mesure-month-by-month/m-p/2456080#M66275</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="54815" data-lia-user-login="ouafaa" class="lia-mention lia-mention-user"&gt;ouafaa&lt;/a&gt; ,&amp;nbsp; Not very clear&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try a measure like&lt;/P&gt;
&lt;P&gt;Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected('Date'),'Date'[date] &amp;lt;=max('Date'[date])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not help&lt;BR /&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2022 01:15:18 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-04-14T01:15:18Z</dc:date>
    <item>
      <title>Ho to calculate the cumulative of a mesure, month by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ho-to-calculate-the-cumulative-of-a-mesure-month-by-month/m-p/2456030#M66273</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;hello,&lt;BR /&gt;&lt;BR /&gt;I have a measure that calculates a sum of a column of the sales history table according to the month and the year chosen on two slicers month and year (doing conditions based on choosen month and year in a slicer) I want to make another mesure which makes me the accumulation of the first mesure when I choose several months knowing that the sum must be = the sum of the first measure month by month between a minimum month chosen and a maximum month chosen since on the month filter I have the possibility of choosing several months how can i do that?&lt;BR /&gt;it's as if I have to make a sum on the result of a function with entry of each function one month among the months chosen on the slicer total = function(minchosenmonth,chosenyear)+function(month2,chosenyear) ... function(maxchosenmonth,chosenyear&lt;BR /&gt;&lt;BR /&gt;simple sum gives me wrong value&lt;BR /&gt;&lt;BR /&gt;Thank you for any help&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 00:00:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ho-to-calculate-the-cumulative-of-a-mesure-month-by-month/m-p/2456030#M66273</guid>
      <dc:creator>ouafaa</dc:creator>
      <dc:date>2022-04-14T00:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Ho to calculate the cumulative of a mesure, month by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ho-to-calculate-the-cumulative-of-a-mesure-month-by-month/m-p/2456080#M66275</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="54815" data-lia-user-login="ouafaa" class="lia-mention lia-mention-user"&gt;ouafaa&lt;/a&gt; ,&amp;nbsp; Not very clear&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try a measure like&lt;/P&gt;
&lt;P&gt;Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected('Date'),'Date'[date] &amp;lt;=max('Date'[date])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not help&lt;BR /&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 01:15:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ho-to-calculate-the-cumulative-of-a-mesure-month-by-month/m-p/2456080#M66275</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-04-14T01:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ho to calculate the cumulative of a mesure, month by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ho-to-calculate-the-cumulative-of-a-mesure-month-by-month/m-p/2457118#M66338</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help but it does not work.&lt;/P&gt;&lt;P&gt;My PBIX is too large and contains sensitive data, I will create a sample one juste like an exemple or juste copy some excpected results and will share it so you can see what i'm trying to do&lt;/P&gt;&lt;P&gt;Thank you again&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 10:43:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ho-to-calculate-the-cumulative-of-a-mesure-month-by-month/m-p/2457118#M66338</guid>
      <dc:creator>ouafaa</dc:creator>
      <dc:date>2022-04-14T10:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Ho to calculate the cumulative of a mesure, month by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ho-to-calculate-the-cumulative-of-a-mesure-month-by-month/m-p/2457146#M66343</link>
      <description>&lt;P&gt;If the slicer is choosing a range of dates from your Date table then you could do&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Total =
var summaryTable = ADDCOLUMNS( VALUES('Date'[Year month]), "@val", [Existing measure])
return SUMX( summaryTable, [@val])&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 14 Apr 2022 10:57:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ho-to-calculate-the-cumulative-of-a-mesure-month-by-month/m-p/2457146#M66343</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-04-14T10:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ho to calculate the cumulative of a mesure, month by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ho-to-calculate-the-cumulative-of-a-mesure-month-by-month/m-p/2459557#M66494</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works! thank you very much !&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 23:50:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ho-to-calculate-the-cumulative-of-a-mesure-month-by-month/m-p/2459557#M66494</guid>
      <dc:creator>ouafaa</dc:creator>
      <dc:date>2022-04-15T23:50:56Z</dc:date>
    </item>
  </channel>
</rss>

