<?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: DAX Help in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help/m-p/3117965#M110455</link>
    <description>&lt;P&gt;But this works only when there is some&amp;nbsp; Year or Quarter selection in slicers. But i want without any selections of slicers from date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get "dateadd expects a contiguous selection" error msg if i do not make any date selections or add Year ot Quarter to the table. And i have one - many directional tables.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2023 05:15:51 GMT</pubDate>
    <dc:creator>pmadam</dc:creator>
    <dc:date>2023-03-08T05:15:51Z</dc:date>
    <item>
      <title>DAX Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help/m-p/3117669#M110440</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If someone can can help me with below issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to Calculate Previos Quarter , Previous Month. Issue is for Previous Quater, Prev Month it should give me 2022 Q4 values but with below dax, its not understanding to go to previous year&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below DAX works from Feb to Dec and doesnt work for Jan , as it doesnt understand to go to 2022 Dec month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Prev_Month = &lt;/SPAN&gt;&lt;SPAN&gt;MONTH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TODAY&lt;/SPAN&gt;&lt;SPAN&gt;())-&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;PMonth Book = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'YTD Total'&lt;/SPAN&gt;&lt;SPAN&gt;[Book RR]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'YTD Total'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'YTD Total'&lt;/SPAN&gt;&lt;SPAN&gt;[Month Number]&lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;[Prev_Month]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now, Im not sure how to even start writing DAX for Previous Quarter.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please help.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;PV&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Mar 2023 01:45:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help/m-p/3117669#M110440</guid>
      <dc:creator>pmadam</dc:creator>
      <dc:date>2023-03-08T01:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help/m-p/3117760#M110443</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="76400" data-lia-user-login="pmadam" class="lia-mention lia-mention-user"&gt;pmadam&lt;/a&gt;&lt;/P&gt;&lt;P&gt;try to join your table with a qualified date table and utilize Time Intelligence Functions like DATEADD&lt;BR /&gt;for previous month,&lt;BR /&gt;CALCULATE(&lt;BR /&gt;...,&lt;BR /&gt;DATEADD(DateTable[Date], -1, MONTH)&lt;BR /&gt;)&lt;BR /&gt;for previous quarter, DATEADD(DateTable[Date], -3, MONTH)&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 02:22:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help/m-p/3117760#M110443</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-03-08T02:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help/m-p/3117965#M110455</link>
      <description>&lt;P&gt;But this works only when there is some&amp;nbsp; Year or Quarter selection in slicers. But i want without any selections of slicers from date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get "dateadd expects a contiguous selection" error msg if i do not make any date selections or add Year ot Quarter to the table. And i have one - many directional tables.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 05:15:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Help/m-p/3117965#M110455</guid>
      <dc:creator>pmadam</dc:creator>
      <dc:date>2023-03-08T05:15:51Z</dc:date>
    </item>
  </channel>
</rss>

