<?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: How to use PREVIOUSMONTH() to only show the month number in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-PREVIOUSMONTH-to-only-show-the-month-number/m-p/1302177#M22581</link>
    <description>&lt;P&gt;HI&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;YOu cna use the measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Previou month value = IF (MONTH(MAX(Table10[Date])) = 1, 12 ,  MONTH(MAX(Table10[Date]))-1)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Harsh Nathani&lt;BR /&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Aug 2020 20:40:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-08-17T20:40:04Z</dc:date>
    <item>
      <title>How to use PREVIOUSMONTH() to only show the month number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-PREVIOUSMONTH-to-only-show-the-month-number/m-p/1302150#M22577</link>
      <description>&lt;P&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;I am using Power BI and I just need to retrieve the number value for the previous month.&lt;BR /&gt;&lt;BR /&gt;As an example, we are currently in August, so I would like to use this function to bring me the value of 7.&lt;BR /&gt;&lt;BR /&gt;I need this in order to do calculations with this value.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 20:21:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-PREVIOUSMONTH-to-only-show-the-month-number/m-p/1302150#M22577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-17T20:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to use PREVIOUSMONTH() to only show the month number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-PREVIOUSMONTH-to-only-show-the-month-number/m-p/1302161#M22579</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;- Maybe something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MONTH(MAXX(PREVIOUSMONTH(...),[Date]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may find this helpful - &lt;A href="https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, see if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TITHW/m-p/434008" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TITHW/m-p/434008&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 20:30:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-PREVIOUSMONTH-to-only-show-the-month-number/m-p/1302161#M22579</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-08-17T20:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use PREVIOUSMONTH() to only show the month number</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-PREVIOUSMONTH-to-only-show-the-month-number/m-p/1302177#M22581</link>
      <description>&lt;P&gt;HI&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;YOu cna use the measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Previou month value = IF (MONTH(MAX(Table10[Date])) = 1, 12 ,  MONTH(MAX(Table10[Date]))-1)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Harsh Nathani&lt;BR /&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 20:40:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-PREVIOUSMONTH-to-only-show-the-month-number/m-p/1302177#M22581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-17T20:40:04Z</dc:date>
    </item>
  </channel>
</rss>

