<?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 : I want to write Dax measure % increase or decrease versus pervious month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-I-want-to-write-Dax-measure-increase-or-decrease-versus/m-p/3338693#M125263</link>
    <description>&lt;P&gt;Hi&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;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For the below query how to hide the Future months eg : Aug month showing the -44.6% now&amp;nbsp; I want it to show blank&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;% Automated Order EU - Previous Month =&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VAR CurrentAcual = [% Automated order EU]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VAR PreviousActual =&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CALCULATE (&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[% Automated order EU],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ALLSELECTED ( 'SM Dim Calendar' ),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'SM Dim Calendar'[Fiscal Month Number]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;= MAX ( 'SM Dim Calendar'[Fiscal Month Number] ) - 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CurrentAcual - COALESCE ( PreviousActual, CurrentAcual )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jul 2023 14:32:24 GMT</pubDate>
    <dc:creator>SupriyaVarun</dc:creator>
    <dc:date>2023-07-19T14:32:24Z</dc:date>
    <item>
      <title>Dax : I want to write Dax measure % increase or decrease versus pervious month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-I-want-to-write-Dax-measure-increase-or-decrease-versus/m-p/3324457#M124478</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help with Dax, I am using a Live connection and I have to Write Dax measure for the Actuals&lt;/P&gt;&lt;P&gt;For Fiscal month.&lt;/P&gt;&lt;P&gt;I want the output like this below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jan = &lt;FONT face="arial black,avant garde"&gt;0%&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Feb = 15.3% -18.7%&amp;nbsp; = &lt;FONT face="arial black,avant garde"&gt;-3.4%&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Mar = 16.1% -15.3% = &lt;FONT face="arial black,avant garde"&gt;0.8%&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 06:15:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-I-want-to-write-Dax-measure-increase-or-decrease-versus/m-p/3324457#M124478</guid>
      <dc:creator>SupriyaVarun</dc:creator>
      <dc:date>2023-07-11T06:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dax : I want to write Dax measure % increase or decrease versus pervious month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-I-want-to-write-Dax-measure-increase-or-decrease-versus/m-p/3324635#M124483</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="544658" data-lia-user-login="SupriyaVarun" class="lia-mention lia-mention-user"&gt;SupriyaVarun&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The assumption is that your date table contains a YearMonthRank column which is a squential number that increases by one every month over the years.&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Actual MOM =
VAR CurrentAcual = [Actual]
VAR PreviousActual =
    CALCULATE (
        [Actual],
        ALLSELECTED ( 'Date' ),
        'Date'[YearMonthRank]
            = MAX ( 'Date'[YearMonthRank] ) - 1
    )
RETURN
    CurrentAcual - COALESCE ( PreviousActual, CurrentAcual )&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 11 Jul 2023 07:53:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-I-want-to-write-Dax-measure-increase-or-decrease-versus/m-p/3324635#M124483</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-07-11T07:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dax : I want to write Dax measure % increase or decrease versus pervious month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-I-want-to-write-Dax-measure-increase-or-decrease-versus/m-p/3324795#M124490</link>
      <description>&lt;P&gt;Hi Tamerj,&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for the help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; It worked&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;% Automated Order EU - Previous Month =&lt;BR /&gt;VAR CurrentAcual = [% Automated order EU]&lt;BR /&gt;VAR PreviousActual =&lt;BR /&gt;CALCULATE (&lt;BR /&gt;[% Automated order EU],&lt;BR /&gt;ALLSELECTED ( 'SM Dim Calendar' ),&lt;BR /&gt;'SM Dim Calendar'[Fiscal Month Number]&lt;BR /&gt;= MAX ( 'SM Dim Calendar'[Fiscal Month Number] ) - 1&lt;BR /&gt;)&lt;BR /&gt;RETURN&lt;BR /&gt;CurrentAcual - COALESCE ( PreviousActual, CurrentAcual )&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 09:03:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-I-want-to-write-Dax-measure-increase-or-decrease-versus/m-p/3324795#M124490</guid>
      <dc:creator>SupriyaVarun</dc:creator>
      <dc:date>2023-07-11T09:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dax : I want to write Dax measure % increase or decrease versus pervious month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-I-want-to-write-Dax-measure-increase-or-decrease-versus/m-p/3338693#M125263</link>
      <description>&lt;P&gt;Hi&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;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For the below query how to hide the Future months eg : Aug month showing the -44.6% now&amp;nbsp; I want it to show blank&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;% Automated Order EU - Previous Month =&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VAR CurrentAcual = [% Automated order EU]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;VAR PreviousActual =&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CALCULATE (&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[% Automated order EU],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ALLSELECTED ( 'SM Dim Calendar' ),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'SM Dim Calendar'[Fiscal Month Number]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;= MAX ( 'SM Dim Calendar'[Fiscal Month Number] ) - 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CurrentAcual - COALESCE ( PreviousActual, CurrentAcual )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 14:32:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-I-want-to-write-Dax-measure-increase-or-decrease-versus/m-p/3338693#M125263</guid>
      <dc:creator>SupriyaVarun</dc:creator>
      <dc:date>2023-07-19T14:32:24Z</dc:date>
    </item>
  </channel>
</rss>

