<?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 Quarter of Previous Year in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Quarter-of-Previous-Year/m-p/2527539#M70743</link>
    <description>&lt;P&gt;HI if you have a date table it will be easy. Do you have it ?&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/" target="_blank"&gt;https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2022 20:01:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-05-19T20:01:47Z</dc:date>
    <item>
      <title>Previous Quarter of Previous Year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Quarter-of-Previous-Year/m-p/2527491#M70739</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am searching for DAX solution, where in calculated column I mark most recent Q and also the same Q for previous year.&lt;BR /&gt;Here is my example (In Scope column is desired solution)&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;As we see, my latest data is for April 2022, which is Q2. Due to that I mark it as "Yes", but I also need to mark "Yes" the Q2 in previous year.&lt;BR /&gt;&lt;BR /&gt;Any idea how to do it dynamic?&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 19:35:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Quarter-of-Previous-Year/m-p/2527491#M70739</guid>
      <dc:creator>Migasuke</dc:creator>
      <dc:date>2022-05-19T19:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter of Previous Year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Quarter-of-Previous-Year/m-p/2527539#M70743</link>
      <description>&lt;P&gt;HI if you have a date table it will be easy. Do you have it ?&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/" target="_blank"&gt;https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 20:01:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Quarter-of-Previous-Year/m-p/2527539#M70743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-19T20:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter of Previous Year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Quarter-of-Previous-Year/m-p/2527557#M70745</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;Can you try this calc column:(I added date table) and will attach file..&lt;A title="Quarter &amp;amp; Prev Qtr" href="https://drive.google.com/file/d/1W3cetda55qW0mKxle1XlAxKPSDQeot7w/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1W3cetda55qW0mKxle1XlAxKPSDQeot7w/view?usp=sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IsCurrent/prev/Qtr = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;OR&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;YEAR&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;data[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&gt;365&lt;/SPAN&gt;&lt;SPAN&gt;)),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Yes"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"No"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;I hope this solves your question..Thanks&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 May 2022 20:14:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Quarter-of-Previous-Year/m-p/2527557#M70745</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-05-19T20:14:58Z</dc:date>
    </item>
  </channel>
</rss>

