<?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: Calculating Same Period Last Month !!! in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Same-Period-Last-Month/m-p/2140913#M49211</link>
    <description>&lt;P&gt;Hey&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I downloaded the file and don't see anything you showed on the first post in the file.&lt;/P&gt;
&lt;P&gt;Can you explain again what you are trying to do, what is the result and what you expect as a result?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe prepare the file, that I only have to open it and see your case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Denis&lt;/P&gt;</description>
    <pubDate>Mon, 18 Oct 2021 14:13:12 GMT</pubDate>
    <dc:creator>selimovd</dc:creator>
    <dc:date>2021-10-18T14:13:12Z</dc:date>
    <item>
      <title>Calculating Same Period Last Month !!!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Same-Period-Last-Month/m-p/2100480#M47928</link>
      <description>&lt;P&gt;Hi Geniuses,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a measure to calculate MTD sales of my product category now I want to calculate sales of same premiod last month to compare. My Dax formula is returning the same result as current month MTD.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;PREMIUN SPLM = CALCULATE([MTD PREMIUM Sales], &lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;DATESBETWEEN('Calendar'[Date],DATE(YEAR( TODAY() ), MONTH( TODAY() )-1, 01), TODAY()-30 )&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;)&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;Can you please help me how I can fix this?&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;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 13:48:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Same-Period-Last-Month/m-p/2100480#M47928</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-27T13:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Same Period Last Month !!!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Same-Period-Last-Month/m-p/2100996#M47950</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PREMIUN SPLM=&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;STRONG&gt;CALCULATE([MTD PREMIUM Sales],&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;PREVIOUSMONTH(DATESMTD('Calendar'[Date])))&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Mark this as a solution if I answered your question.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Kudos are always appreciated.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 27 Sep 2021 18:15:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Same-Period-Last-Month/m-p/2100996#M47950</guid>
      <dc:creator>Tanushree_Kapse</dc:creator>
      <dc:date>2021-09-27T18:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Same Period Last Month !!!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Same-Period-Last-Month/m-p/2101968#M47969</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="281080" data-lia-user-login="Tanushree_Kapse" class="lia-mention lia-mention-user"&gt;Tanushree_Kapse&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;It didn't work either. Returned the same value as current month.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 05:57:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Same-Period-Last-Month/m-p/2101968#M47969</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-28T05:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Same Period Last Month !!!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Same-Period-Last-Month/m-p/2101985#M47970</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="2744" data-lia-user-login="selimovd" class="lia-mention lia-mention-user"&gt;selimovd&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you help me on this issue?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Here is my PBI file: &lt;A href="https://we.tl/t-X49Va7dzNP" target="_blank"&gt;https://we.tl/t-X49Va7dzNP&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 06:02:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Same-Period-Last-Month/m-p/2101985#M47970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-28T06:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Same Period Last Month !!!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Same-Period-Last-Month/m-p/2134966#M49012</link>
      <description>&lt;P&gt;Hey&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is that still ongoing or could you solve the issue?&lt;/P&gt;
&lt;P&gt;If it's still unsolved you have to upload the file again as it expired.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Denis&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 12:12:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Same-Period-Last-Month/m-p/2134966#M49012</guid>
      <dc:creator>selimovd</dc:creator>
      <dc:date>2021-10-14T12:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Same Period Last Month !!!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Same-Period-Last-Month/m-p/2138738#M49138</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="2744" data-lia-user-login="selimovd" class="lia-mention lia-mention-user"&gt;selimovd&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Here's the link,&amp;nbsp;&lt;BR /&gt;&lt;A href="https://we.tl/t-vHCzwVjX8W" target="_blank"&gt;https://we.tl/t-vHCzwVjX8W&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Sun, 17 Oct 2021 10:26:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Same-Period-Last-Month/m-p/2138738#M49138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-17T10:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Same Period Last Month !!!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Same-Period-Last-Month/m-p/2140913#M49211</link>
      <description>&lt;P&gt;Hey&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I downloaded the file and don't see anything you showed on the first post in the file.&lt;/P&gt;
&lt;P&gt;Can you explain again what you are trying to do, what is the result and what you expect as a result?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe prepare the file, that I only have to open it and see your case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Denis&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 14:13:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Same-Period-Last-Month/m-p/2140913#M49211</guid>
      <dc:creator>selimovd</dc:creator>
      <dc:date>2021-10-18T14:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Same Period Last Month !!!</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Same-Period-Last-Month/m-p/2141263#M49220</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="2744" data-lia-user-login="selimovd" class="lia-mention lia-mention-user"&gt;selimovd&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry I might have renamed those measures which makes them difficult for you to understand !&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Below measure #1 is what returns the sales&amp;nbsp;quantity in current month and measure #2 is what I expect to return sales quantity of same period last month and change in percentage.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure #1&lt;BR /&gt;MTD PREMIUM Sales Installed = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[PREMIUM Sales]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DATESBETWEEN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Sales Report'[Installation Date]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;YEAR&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TODAY&lt;/SPAN&gt;&lt;SPAN&gt;()),&lt;/SPAN&gt;&lt;SPAN&gt;MONTH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TODAY&lt;/SPAN&gt;&lt;SPAN&gt;()),&lt;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IVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[MTD PREMIUM Sales Installed]&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;SPLM&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;SPLM&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 17:39:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Same-Period-Last-Month/m-p/2141263#M49220</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-18T17:39:55Z</dc:date>
    </item>
  </channel>
</rss>

