<?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: DAX total amount for entire months shows in following month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-total-amount-for-entire-months-shows-in-following-month/m-p/2754251#M85081</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have tried the above method but getting error of duplicate date because of the data consist of same date with multiple rows. Is there any chance this can be solved? I have attached the sample data above for your reference. Thank you in advance!&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2022 03:34:38 GMT</pubDate>
    <dc:creator>hafchez</dc:creator>
    <dc:date>2022-09-08T03:34:38Z</dc:date>
    <item>
      <title>DAX total amount for entire months shows in following month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-total-amount-for-entire-months-shows-in-following-month/m-p/2749203#M84771</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to power bi and needs help from power bi community. I have been struggles for weeks to get the desire result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have data which I need to interpret to matrix visual to get the result for the total amount from entire previous month which the result should be shows in the following month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, as you can see from below screen shots,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;these are the amount for each month filtered by year. I need to get the result which total of entire previous month to display in the following month. The earliest data recorded is on February. So below are the expected result:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The end result needed as per below:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;January&lt;/STRONG&gt; 2021 result = 0&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;February&lt;/STRONG&gt; 2021 result = 0 (No amount recorded for January)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;March&lt;/STRONG&gt; 2021 result = &lt;STRONG&gt;74.9200&lt;/STRONG&gt; (Jan 0 + Feb 74.9200)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;April&lt;/STRONG&gt; 2021 result= &lt;STRONG&gt;876.3900&lt;/STRONG&gt; (Feb 74.9200 + Mar 801.4700)&lt;BR /&gt;&lt;STRONG&gt;May&lt;/STRONG&gt; 2021 result = &lt;STRONG&gt;894.8100&lt;/STRONG&gt; (Feb 74.9200 + Mar 801.4700 + Apr 18.4200)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then if I filtered year 2022, the end result needed as per below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;January&lt;/STRONG&gt; 2022 result = &lt;STRONG&gt;8,585.3148&lt;/STRONG&gt; (as per total amount recorded from earliest data until 31 December 2021 at 23:59:59)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;February&lt;/STRONG&gt; 2022 result = &lt;STRONG&gt;9,662.5048&lt;/STRONG&gt; (total amount from earliest recorded data until 31 January 2022 at 23:59:59)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;March&lt;/STRONG&gt; 2022 result = &lt;STRONG&gt;10,236.1648&lt;/STRONG&gt; (total amount from earliest recorded data until 28 February 2022 at 23:59:59)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So instead of showing the amount of current month (as per image), the result for the all following month should be the same calculation method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached herewith the data.&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!AlhUeAWUWE5vbPE807wZ4P5puPU" target="_self"&gt;https://1drv.ms/u/s!AlhUeAWUWE5vbPE807wZ4P5puPU&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 05:39:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-total-amount-for-entire-months-shows-in-following-month/m-p/2749203#M84771</guid>
      <dc:creator>hafchez</dc:creator>
      <dc:date>2022-09-06T05:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: DAX total amount for entire months shows in following month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-total-amount-for-entire-months-shows-in-following-month/m-p/2751659#M84907</link>
      <description>&lt;P&gt;Hi experts,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp; ,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp; ,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;. Any suggestion or solution? Thank you very much in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 01:17:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-total-amount-for-entire-months-shows-in-following-month/m-p/2751659#M84907</guid>
      <dc:creator>hafchez</dc:creator>
      <dc:date>2022-09-07T01:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: DAX total amount for entire months shows in following month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-total-amount-for-entire-months-shows-in-following-month/m-p/2752630#M84964</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="379283" data-lia-user-login="hafchez" class="lia-mention lia-mention-user"&gt;hafchez&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could create a measure to get the previous month's value then create another measure to get the cumulative value of the first measure.&lt;/P&gt;
&lt;P&gt;You will also need to create an independent year slicer table so that the rest years' data won't be filtered when you select a year.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jay&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 08:59:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-total-amount-for-entire-months-shows-in-following-month/m-p/2752630#M84964</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-07T08:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: DAX total amount for entire months shows in following month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-total-amount-for-entire-months-shows-in-following-month/m-p/2754251#M85081</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have tried the above method but getting error of duplicate date because of the data consist of same date with multiple rows. Is there any chance this can be solved? I have attached the sample data above for your reference. Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 03:34:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-total-amount-for-entire-months-shows-in-following-month/m-p/2754251#M85081</guid>
      <dc:creator>hafchez</dc:creator>
      <dc:date>2022-09-08T03:34:38Z</dc:date>
    </item>
  </channel>
</rss>

