<?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 in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month/m-p/4034494#M159787</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="415600" data-lia-user-login="ArchStanton" class="lia-mention lia-mention-user"&gt;ArchStanton&lt;/a&gt;&amp;nbsp;- Can you try below measure to get the previous month total&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PreviousMonth_ActiveCases =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNT('Cases'[Case Number]),&lt;BR /&gt;DATEADD('Date'[Date], -1, MONTH),&lt;BR /&gt;'Cases'[statecode] = "Active"&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! This will help others on the forum!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2024 10:59:39 GMT</pubDate>
    <dc:creator>rajendraongole1</dc:creator>
    <dc:date>2024-07-10T10:59:39Z</dc:date>
    <item>
      <title>Previous Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month/m-p/4034489#M159786</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to modify this measure&amp;nbsp; so it gives me the previous month total?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MTD Active Cases = CALCULATE(
    TOTALMTD(COUNT('Cases'[Case Number]),'Cases'[Created On]),
    'Cases'[statecode] = "Active")&lt;/LI-CODE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 10:57:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month/m-p/4034489#M159786</guid>
      <dc:creator>ArchStanton</dc:creator>
      <dc:date>2024-07-10T10:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month/m-p/4034494#M159787</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="415600" data-lia-user-login="ArchStanton" class="lia-mention lia-mention-user"&gt;ArchStanton&lt;/a&gt;&amp;nbsp;- Can you try below measure to get the previous month total&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PreviousMonth_ActiveCases =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNT('Cases'[Case Number]),&lt;BR /&gt;DATEADD('Date'[Date], -1, MONTH),&lt;BR /&gt;'Cases'[statecode] = "Active"&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! This will help others on the forum!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 10:59:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month/m-p/4034494#M159787</guid>
      <dc:creator>rajendraongole1</dc:creator>
      <dc:date>2024-07-10T10:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month/m-p/4034561#M159808</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 11:57:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month/m-p/4034561#M159808</guid>
      <dc:creator>ArchStanton</dc:creator>
      <dc:date>2024-07-10T11:57:53Z</dc:date>
    </item>
  </channel>
</rss>

