<?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 PREVIOUSMONTH doesn´t work... in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PREVIOUSMONTH-doesn-t-work/m-p/2105492#M48086</link>
    <description>&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a tiny but mess problem with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;I have a tiny but mess problem with this simple measure: I got two tables, one with monthly costs of a budget&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and a table data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I only want to make an easy measure in order to obtain the costs of the previous month:&lt;/P&gt;&lt;P&gt;PREVIOUS MONTH 2021 = CALCULATE((CALCULATE(SUM('Matriz'[Total]), Matriz[Year]="2021", Matriz[Origen]="Cuenta de resultados")), PREVIOUSMONTH(Calendario[Date]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It actually is not working so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me with it?&lt;/P&gt;&lt;P&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;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 29 Sep 2021 11:25:30 GMT</pubDate>
    <dc:creator>ÒScar</dc:creator>
    <dc:date>2021-09-29T11:25:30Z</dc:date>
    <item>
      <title>PREVIOUSMONTH doesn´t work...</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PREVIOUSMONTH-doesn-t-work/m-p/2105492#M48086</link>
      <description>&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a tiny but mess problem with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;I have a tiny but mess problem with this simple measure: I got two tables, one with monthly costs of a budget&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and a table data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I only want to make an easy measure in order to obtain the costs of the previous month:&lt;/P&gt;&lt;P&gt;PREVIOUS MONTH 2021 = CALCULATE((CALCULATE(SUM('Matriz'[Total]), Matriz[Year]="2021", Matriz[Origen]="Cuenta de resultados")), PREVIOUSMONTH(Calendario[Date]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It actually is not working so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me with it?&lt;/P&gt;&lt;P&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;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 Sep 2021 11:25:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PREVIOUSMONTH-doesn-t-work/m-p/2105492#M48086</guid>
      <dc:creator>ÒScar</dc:creator>
      <dc:date>2021-09-29T11:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: PREVIOUSMONTH doesn´t work...</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PREVIOUSMONTH-doesn-t-work/m-p/2105607#M48089</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="222643" data-lia-user-login="ÒScar" class="lia-mention lia-mention-user"&gt;ÒScar&lt;/a&gt; , You should not add filters for year and month. In case you need a filter use a slicer from date table&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assuming year filter related to date of date table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PREVIOUS MONTH 2021 = CALCULATE(SUM('Matriz'[Total]), filter(Matriz, Matriz[Origen]="Cuenta de resultados"), PREVIOUSMONTH(Calendario[Date]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;refer&lt;/P&gt;
&lt;P&gt;Why Time Intelligence Fails - Power bi 5 Savior Steps for TI: &lt;A href="https://youtu.be/OBf0rjpp5Hw" target="_blank"&gt;https://youtu.be/OBf0rjpp5Hw&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 12:08:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PREVIOUSMONTH-doesn-t-work/m-p/2105607#M48089</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-09-29T12:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: PREVIOUSMONTH doesn´t work...</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PREVIOUSMONTH-doesn-t-work/m-p/2105786#M48103</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;first of all, thank you so much for your quick response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I share with you a screenshot of my dashboard once I have followed your advice, I´m afraid it still doesn´t work...&lt;/P&gt;&lt;P&gt;Could you take a look on it, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you once again, &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;,&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;</description>
      <pubDate>Wed, 29 Sep 2021 13:20:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PREVIOUSMONTH-doesn-t-work/m-p/2105786#M48103</guid>
      <dc:creator>ÒScar</dc:creator>
      <dc:date>2021-09-29T13:20:30Z</dc:date>
    </item>
  </channel>
</rss>

