<?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: Previous Month and Current Month same period --- with filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-and-Current-Month-same-period-with-filter/m-p/4127792#M163932</link>
    <description>&lt;P&gt;Hi, this is my sample data&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/13OQVLW4fRwaSJ2d_FFLMj-g_wV98BgXb/view?usp=drive_link" target="_blank"&gt;https://drive.google.com/file/d/13OQVLW4fRwaSJ2d_FFLMj-g_wV98BgXb/view?usp=drive_link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the output that i want to achieve&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://youtu.be/Gw0t4TKkzE4?si=2Bd4BdI9_Ir-y7QL" target="_blank"&gt;https://youtu.be/Gw0t4TKkzE4?si=2Bd4BdI9_Ir-y7QL&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;based on the video, the MTD will show cumulative numbers but I am getting the same value of total cases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the PREV Month on the video will show numbers per day based on the previous month's data, but it is showing blank on my end, but it has a value under Total which is the sum of all months minus the latest month&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;also, when i click a slicer filter for months, the PREV will become blank&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Sat, 31 Aug 2024 07:44:19 GMT</pubDate>
    <dc:creator>Siops</dc:creator>
    <dc:date>2024-08-31T07:44:19Z</dc:date>
    <item>
      <title>Previous Month and Current Month same period --- with filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-and-Current-Month-same-period-with-filter/m-p/4127432#M163915</link>
      <description>&lt;P&gt;Hello! I tried several calculations from this forum and also watched some videos regarding the current and previous month measurement but I am getting a different result when I tried those formula on my end.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are my measurements -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MTD =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sample&lt;/SPAN&gt;&lt;SPAN&gt;[Case]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; , &lt;/SPAN&gt;&lt;SPAN&gt;DATESMTD&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sample&lt;/SPAN&gt;&lt;SPAN&gt;[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;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Last MTD =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'Sample'&lt;/SPAN&gt;&lt;SPAN&gt;[MTD]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; , &lt;/SPAN&gt;&lt;SPAN&gt;DATEADD&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Sample'&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;, -&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;MONTH&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;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;I got a different results based on one of the answer here and also from one of the video.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1. MTD field should be cumulative. I am getting the same value of my 'Case' field&lt;/DIV&gt;&lt;DIV&gt;2. Last MTD field should show the previous value. For example, under January 2, it should show 56 cases. But my whole Last MTD field is showing blank except that it is showing a value under Total. It is a SUM of all months minus the latest month.&lt;/DIV&gt;&lt;DIV&gt;3. Once I click a Month Filter/Slicer, the Last MTD will show as "(Blank)"&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 Aug 2024 18:11:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-and-Current-Month-same-period-with-filter/m-p/4127432#M163915</guid>
      <dc:creator>Siops</dc:creator>
      <dc:date>2024-08-30T18:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month and Current Month same period --- with filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-and-Current-Month-same-period-with-filter/m-p/4127528#M163921</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 20:13:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-and-Current-Month-same-period-with-filter/m-p/4127528#M163921</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-08-30T20:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month and Current Month same period --- with filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-and-Current-Month-same-period-with-filter/m-p/4127792#M163932</link>
      <description>&lt;P&gt;Hi, this is my sample data&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/13OQVLW4fRwaSJ2d_FFLMj-g_wV98BgXb/view?usp=drive_link" target="_blank"&gt;https://drive.google.com/file/d/13OQVLW4fRwaSJ2d_FFLMj-g_wV98BgXb/view?usp=drive_link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the output that i want to achieve&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://youtu.be/Gw0t4TKkzE4?si=2Bd4BdI9_Ir-y7QL" target="_blank"&gt;https://youtu.be/Gw0t4TKkzE4?si=2Bd4BdI9_Ir-y7QL&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;based on the video, the MTD will show cumulative numbers but I am getting the same value of total cases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the PREV Month on the video will show numbers per day based on the previous month's data, but it is showing blank on my end, but it has a value under Total which is the sum of all months minus the latest month&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;also, when i click a slicer filter for months, the PREV will become blank&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sat, 31 Aug 2024 07:44:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-and-Current-Month-same-period-with-filter/m-p/4127792#M163932</guid>
      <dc:creator>Siops</dc:creator>
      <dc:date>2024-08-31T07:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month and Current Month same period --- with filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-and-Current-Month-same-period-with-filter/m-p/4128039#M163941</link>
      <description>&lt;P&gt;You need to use a Dates table for time intelligence functions.&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Aug 2024 17:24:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-and-Current-Month-same-period-with-filter/m-p/4128039#M163941</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-08-31T17:24:38Z</dc:date>
    </item>
  </channel>
</rss>

