<?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 Function- DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-Function-DAX/m-p/780270#M4103</link>
    <description>&lt;P&gt;This is dummy data. The count function works fine when I calculate the total head count.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Aug 2019 13:00:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-30T13:00:39Z</dc:date>
    <item>
      <title>Previous Month Function- DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-Function-DAX/m-p/779514#M4082</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have a dataset with names and the hiring dates. I also have a calendar table. I am trying to simply find the number of people who joined last month by using the previous month function. However, the previous month funtion is not returning any value. Please help to solve this. Thanks!&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;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Previous month head count = CALCULATE(COUNT(Sheet1[Name]),PREVIOUSMONTH('Sheet1 (2)'[CalendarDate]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Aug 2019 20:51:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-Function-DAX/m-p/779514#M4082</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-29T20:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month Function- DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-Function-DAX/m-p/780235#M4098</link>
      <description>First, your tables are BADLY NAMED. Good naming is of paramount importance in any programming activity.&lt;BR /&gt;&lt;BR /&gt;Secord, your formula doesn't work because you should always check what arguments a function takes.&lt;BR /&gt;&lt;BR /&gt;Please see: &lt;A href="http://www.daxguide.com/count" target="_blank"&gt;www.daxguide.com/count&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D.</description>
      <pubDate>Fri, 30 Aug 2019 12:19:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-Function-DAX/m-p/780235#M4098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-30T12:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month Function- DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-Function-DAX/m-p/780270#M4103</link>
      <description>&lt;P&gt;This is dummy data. The count function works fine when I calculate the total head count.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 13:00:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-Function-DAX/m-p/780270#M4103</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-30T13:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month Function- DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-Function-DAX/m-p/780350#M4107</link>
      <description>PREVIOUSMONTH -&amp;gt; Returns a table that contains a column of all dates from the previous month, based on the first date in the dates column, in the current context.&lt;BR /&gt;&lt;BR /&gt;This might be the cause of your problem. The above function works OK when used on a day or a month level. Anything of lower granularity and you've got a problem.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D.</description>
      <pubDate>Fri, 30 Aug 2019 14:54:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-Function-DAX/m-p/780350#M4107</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-30T14:54:54Z</dc:date>
    </item>
  </channel>
</rss>

