<?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: Confusion regarding PREVIOUSMONTH in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Confusion-regarding-PREVIOUSMONTH/m-p/2325280#M58192</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="356319" data-lia-user-login="JB" class="lia-mention lia-mention-user"&gt;JB&lt;/a&gt;&amp;nbsp;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>Tue, 08 Feb 2022 10:26:37 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2022-02-08T10:26:37Z</dc:date>
    <item>
      <title>Confusion regarding PREVIOUSMONTH</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Confusion-regarding-PREVIOUSMONTH/m-p/2325275#M58190</link>
      <description>&lt;P&gt;The official Microsoft website provides the following as an example for the correct use of PREVIOUSMONTH&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;= CALCULATE(SUM(InternetSales_USD[SalesAmount_USD]), PREVIOUSMONTH('DateTime'[DateKey]))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The expression below does not work for me, despite seemingly following the exact same structure and logic as the above example. It only returns '(Blank)', despite the Sort Score column containing data. Why is that?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;= CALCULATE(AVERAGE(AuditTable[Sort Score]), PREVIOUSMONTH('Date Table'[Date]))&lt;/LI-CODE&gt;&lt;P&gt;Thanks for your help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 10:25:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Confusion-regarding-PREVIOUSMONTH/m-p/2325275#M58190</guid>
      <dc:creator>JB</dc:creator>
      <dc:date>2022-02-08T10:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Confusion regarding PREVIOUSMONTH</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Confusion-regarding-PREVIOUSMONTH/m-p/2325280#M58192</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="356319" data-lia-user-login="JB" class="lia-mention lia-mention-user"&gt;JB&lt;/a&gt;&amp;nbsp;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>Tue, 08 Feb 2022 10:26:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Confusion-regarding-PREVIOUSMONTH/m-p/2325280#M58192</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-02-08T10:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Confusion regarding PREVIOUSMONTH</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Confusion-regarding-PREVIOUSMONTH/m-p/2325322#M58195</link>
      <description>&lt;P&gt;I went through one of your linked posts and found the following instructions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a date table with all possible dates for which you might want to find the next day&lt;/LI&gt;&lt;LI&gt;Use said date table as the parameter for the NEXTDAY function&lt;/LI&gt;&lt;LI&gt;Ensure that a relationship exists between your fact table and your date table&lt;/LI&gt;&lt;LI&gt;Ensure that the cardinality of the relationship is such that it is Single from your fact table to your date table&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I had already done steps 1-3 but had not ensured that the relationship between the two tables was Single. It is now and seems to work.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 10:44:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Confusion-regarding-PREVIOUSMONTH/m-p/2325322#M58195</guid>
      <dc:creator>JB</dc:creator>
      <dc:date>2022-02-08T10:44:04Z</dc:date>
    </item>
  </channel>
</rss>

