<?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: total sales for last 3 months in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962621#M98751</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="477984" data-lia-user-login="Sofinobi" class="lia-mention lia-mention-user"&gt;Sofinobi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, this measure shows the value of the three months aggregated.&amp;nbsp;If you want to show the value spread over the three months you will have to work with a disconnected date table.&amp;nbsp;This is a good video explaining how to create something like this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=d8Rm7dwM6gc" target="_blank"&gt;https://www.youtube.com/watch?v=d8Rm7dwM6gc&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2022 13:29:50 GMT</pubDate>
    <dc:creator>Barthel</dc:creator>
    <dc:date>2022-12-12T13:29:50Z</dc:date>
    <item>
      <title>total sales for last 3 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962439#M98739</link>
      <description>&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;i'm trying to calculate the total sales for (running) last 3 months (i have already calculated the total sales for all periode "total sales")&lt;/P&gt;&lt;P&gt;ex; we are o december, i need the sales for november, october and septembre.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your help&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 12:23:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962439#M98739</guid>
      <dc:creator>Sofinobi</dc:creator>
      <dc:date>2022-12-12T12:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: total sales for last 3 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962516#M98742</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="477984" data-lia-user-login="Sofinobi" class="lia-mention lia-mention-user"&gt;Sofinobi&lt;/a&gt;,&lt;BR /&gt;Use this formula, assuming you have a date table ('d_date') with a date column ('[date]'):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;total sales last 3 months =
CALCULATE (
    [total sales],
    DATESINPERIOD ( d_date[date], EOMONTH ( MAX ( d_date[date] ), - 1 ), -3, MONTH )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 12:57:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962516#M98742</guid>
      <dc:creator>Barthel</dc:creator>
      <dc:date>2022-12-12T12:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: total sales for last 3 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962531#M98743</link>
      <description>&lt;P&gt;that depends very much on how you are going to present it or the filter context (what columns you have in your visual, date column? month column?)&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 12:59:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962531#M98743</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-12-12T12:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: total sales for last 3 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962581#M98747</link>
      <description>&lt;P&gt;thank you for you answers,&lt;BR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp; i want to add a visualisation of the 3 last months (in a matrix or line chart) without filtering dates everytime when month change.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="417546" data-lia-user-login="Barthel" class="lia-mention lia-mention-user"&gt;Barthel&lt;/a&gt;&amp;nbsp;thank you for your help,&amp;nbsp;&lt;BR /&gt;your measure calculate the sum of the 3 months, when i put it in a matrix it doesn't show me the 3 months separately.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 13:13:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962581#M98747</guid>
      <dc:creator>Sofinobi</dc:creator>
      <dc:date>2022-12-12T13:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: total sales for last 3 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962592#M98748</link>
      <description>&lt;P&gt;Barthel's solution shall work, if you plot with d_date[date]. Or what error do you get?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 13:18:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962592#M98748</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-12-12T13:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: total sales for last 3 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962621#M98751</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="477984" data-lia-user-login="Sofinobi" class="lia-mention lia-mention-user"&gt;Sofinobi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, this measure shows the value of the three months aggregated.&amp;nbsp;If you want to show the value spread over the three months you will have to work with a disconnected date table.&amp;nbsp;This is a good video explaining how to create something like this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=d8Rm7dwM6gc" target="_blank"&gt;https://www.youtube.com/watch?v=d8Rm7dwM6gc&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 13:29:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962621#M98751</guid>
      <dc:creator>Barthel</dc:creator>
      <dc:date>2022-12-12T13:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: total sales for last 3 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962639#M98752</link>
      <description>&lt;P&gt;i dont get an error with that measure, but i get the sum of the 3 months&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 13:35:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962639#M98752</guid>
      <dc:creator>Sofinobi</dc:creator>
      <dc:date>2022-12-12T13:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: total sales for last 3 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962666#M98754</link>
      <description>&lt;P&gt;can you make some screenshot?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 13:42:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962666#M98754</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-12-12T13:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: total sales for last 3 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962750#M98760</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 14:27:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2962750#M98760</guid>
      <dc:creator>Sofinobi</dc:creator>
      <dc:date>2022-12-12T14:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: total sales for last 3 months</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2965997#M98995</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="477984" data-lia-user-login="Sofinobi" class="lia-mention lia-mention-user"&gt;Sofinobi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This might work: put the months in the visual and put KEEPFILTERS in the formula.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;total sales last 3 months =
CALCULATE (
    [total sales],
    KEEPFILTERS (
        DATESINPERIOD ( d_date[date], EOMONTH ( MAX ( d_date[date] ), - 1 ), -3, MONTH )
    )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 13 Dec 2022 17:32:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-for-last-3-months/m-p/2965997#M98995</guid>
      <dc:creator>Barthel</dc:creator>
      <dc:date>2022-12-13T17:32:31Z</dc:date>
    </item>
  </channel>
</rss>

