<?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 how to calculate month over month for current month  and month to date in previous year in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-month-over-month-for-current-month-and-month-to/m-p/2304820#M57024</link>
    <description>&lt;P&gt;im working on a report that shows kpis performance over : days-weeks-months-quarters-years&lt;/P&gt;&lt;P&gt;in order to add contex to my kpi im trying to add comparisons to periods such as : month over month and month to date&amp;nbsp;&lt;/P&gt;&lt;P&gt;the problem is when im showing the trend for monthly performace , the current month didnt end yet and if i want&amp;nbsp; to calculate month over month value doesnt make sense&amp;nbsp;&lt;/P&gt;&lt;P&gt;example of how the graph looks like :&lt;/P&gt;&lt;P&gt;x-axis: months ,&amp;nbsp; (assuming current month is April2021)&lt;/P&gt;&lt;P&gt;y-axis: total orders&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;month over month would be (180-280/280)*100=-35.7%&lt;/P&gt;&lt;P&gt;question1: how would i use this calculation for the current month if its not complete yet?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;question 2 : how can i find month to date value for same month last year. assuming we are now in April2021 , how can i calculate month to date value for april2020 so i can compare it with the current value in this year?&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jan 2022 09:48:18 GMT</pubDate>
    <dc:creator>lawada</dc:creator>
    <dc:date>2022-01-27T09:48:18Z</dc:date>
    <item>
      <title>how to calculate month over month for current month  and month to date in previous year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-month-over-month-for-current-month-and-month-to/m-p/2304820#M57024</link>
      <description>&lt;P&gt;im working on a report that shows kpis performance over : days-weeks-months-quarters-years&lt;/P&gt;&lt;P&gt;in order to add contex to my kpi im trying to add comparisons to periods such as : month over month and month to date&amp;nbsp;&lt;/P&gt;&lt;P&gt;the problem is when im showing the trend for monthly performace , the current month didnt end yet and if i want&amp;nbsp; to calculate month over month value doesnt make sense&amp;nbsp;&lt;/P&gt;&lt;P&gt;example of how the graph looks like :&lt;/P&gt;&lt;P&gt;x-axis: months ,&amp;nbsp; (assuming current month is April2021)&lt;/P&gt;&lt;P&gt;y-axis: total orders&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;month over month would be (180-280/280)*100=-35.7%&lt;/P&gt;&lt;P&gt;question1: how would i use this calculation for the current month if its not complete yet?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;question 2 : how can i find month to date value for same month last year. assuming we are now in April2021 , how can i calculate month to date value for april2020 so i can compare it with the current value in this year?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 09:48:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-month-over-month-for-current-month-and-month-to/m-p/2304820#M57024</guid>
      <dc:creator>lawada</dc:creator>
      <dc:date>2022-01-27T09:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate month over month for current month  and month to date in previous year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-month-over-month-for-current-month-and-month-to/m-p/2304946#M57033</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;You can get these values using PREVIOUSMONTH and SAMEPERIODLASTYEAR.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MonthOverMonth = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;_m&lt;/SPAN&gt;&lt;SPA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&gt;[MonthOverMonth]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;SAMEPERIODLASTYEAR&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'[Date]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 10:52:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-month-over-month-for-current-month-and-month-to/m-p/2304946#M57033</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-01-27T10:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate month over month for current month  and month to date in previous year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-month-over-month-for-current-month-and-month-to/m-p/2314678#M57631</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="222024" data-lia-user-login="lawada" class="lia-mention lia-mention-user"&gt;lawada&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I know whether your issue has been resolved? If there is any post helps, then please consider &lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;. If you still have problems on it, please feel free to let us know. Thanks a lot!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _ Caiyun&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 07:21:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-month-over-month-for-current-month-and-month-to/m-p/2314678#M57631</guid>
      <dc:creator>v-cazheng-msft</dc:creator>
      <dc:date>2022-02-02T07:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate month over month for current month  and month to date in previous year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-month-over-month-for-current-month-and-month-to/m-p/2314687#M57632</link>
      <description>&lt;P&gt;the solutoin provided was not exactly what i was asking.&amp;nbsp; i found another solution to my issue&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 07:26:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-month-over-month-for-current-month-and-month-to/m-p/2314687#M57632</guid>
      <dc:creator>lawada</dc:creator>
      <dc:date>2022-02-02T07:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate month over month for current month  and month to date in previous year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-month-over-month-for-current-month-and-month-to/m-p/2319336#M57893</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="222024" data-lia-user-login="lawada" class="lia-mention lia-mention-user"&gt;lawada&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply! If it is convenient, could you please share your solution to this issue here and Accept is as the solution of this issue to help other users who encounter similar issue? Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _ Caiyun&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 08:36:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-month-over-month-for-current-month-and-month-to/m-p/2319336#M57893</guid>
      <dc:creator>v-cazheng-msft</dc:creator>
      <dc:date>2022-02-04T08:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate month over month for current month  and month to date in previous year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-month-over-month-for-current-month-and-month-to/m-p/2321251#M57989</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MTD meaure = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TOTALMTD&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[users]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Calender[Date]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;PY measure MTD = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[mtd measure]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SAMEPERIODLASTYEAR&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Calender[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 05 Feb 2022 16:55:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-month-over-month-for-current-month-and-month-to/m-p/2321251#M57989</guid>
      <dc:creator>lawada</dc:creator>
      <dc:date>2022-02-05T16:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate month over month for current month  and month to date in previous year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-month-over-month-for-current-month-and-month-to/m-p/2322031#M58016</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="222024" data-lia-user-login="lawada" class="lia-mention lia-mention-user"&gt;lawada&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Noted with many thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _ Caiyun&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 01:10:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-month-over-month-for-current-month-and-month-to/m-p/2322031#M58016</guid>
      <dc:creator>v-cazheng-msft</dc:creator>
      <dc:date>2022-02-07T01:10:38Z</dc:date>
    </item>
  </channel>
</rss>

