<?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 Percentage change Quarter over Quarter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-change-Quarter-over-Quarter/m-p/2862355#M92204</link>
    <description>&lt;P&gt;Hello All,&lt;BR /&gt;Looking solution for Quarter over Quarter % change, When comparing with pervious quarter it should pick up the maximum date in that month.&lt;BR /&gt;let's say comparing this month max date with -3 months max date.&lt;BR /&gt;Tried edate, EOMonth nothing worked.&lt;BR /&gt;No separate calendar table in the dataset.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2022 16:51:07 GMT</pubDate>
    <dc:creator>Ramyapowerbi</dc:creator>
    <dc:date>2022-10-25T16:51:07Z</dc:date>
    <item>
      <title>Percentage change Quarter over Quarter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-change-Quarter-over-Quarter/m-p/2862355#M92204</link>
      <description>&lt;P&gt;Hello All,&lt;BR /&gt;Looking solution for Quarter over Quarter % change, When comparing with pervious quarter it should pick up the maximum date in that month.&lt;BR /&gt;let's say comparing this month max date with -3 months max date.&lt;BR /&gt;Tried edate, EOMonth nothing worked.&lt;BR /&gt;No separate calendar table in the dataset.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 16:51:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-change-Quarter-over-Quarter/m-p/2862355#M92204</guid>
      <dc:creator>Ramyapowerbi</dc:creator>
      <dc:date>2022-10-25T16:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage change Quarter over Quarter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-change-Quarter-over-Quarter/m-p/2862377#M92210</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="461771" data-lia-user-login="Ramyapowerbi" class="lia-mention lia-mention-user"&gt;Ramyapowerbi&lt;/a&gt; , refer these formula &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;QTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESQTD(('Date'[Date])))&lt;BR /&gt;Last QTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESQTD(dateadd('Date'[Date],-1,QUARTER)))&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Qtr Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESQTD(ENDOFQUARTER('Date'[Date])))&lt;/P&gt;
&lt;P&gt;Last QUARTER Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESQTD( ENDOFQUARTER(dateadd('Date'[Date],-1,QUARTER))))&lt;BR /&gt;Last QUARTER Sales = CALCULATE(SUM(Sales[Sales Amount]),PREVIOUSQUARTER(('Date'[Date])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Last Qtr = &lt;BR /&gt;var _max1 = if(isfiltered('Date'),MAX( 'Date'[Date]) , today())&lt;BR /&gt;var _max = eomonth(_max1,-1* if( mod(Month(_max1),3) =0,3,Month(_max1)))&lt;BR /&gt;var _min = eomonth(_min,-3)+1&lt;BR /&gt;return&lt;BR /&gt;CALCULATE([net] ,DATESBETWEEN('Date'[Date],_min,_max))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;QTD = &lt;BR /&gt;var _max = if(isfiltered('Date'),MAX( 'Date'[Date]) , today())&lt;BR /&gt;var _min = eomonth(_max,-1* if( mod(Month(_max),3) =0,3,mod(Month(_max),3)))+1&lt;BR /&gt;return&lt;BR /&gt;CALCULATE([net] ,Filter('Date','Date'[Date]&amp;gt;= _min &amp;amp;&amp;amp; 'Date'[Date] &amp;lt;= _max))&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;This Qtr Column = &lt;BR /&gt;QTD = &lt;BR /&gt;var _max1 = today()&lt;BR /&gt;var _min = eomonth(_max1,-1* if( mod(Month(_max1),3) =0,3,mod(Month(_max1),3)))+1&lt;BR /&gt;var _max= eomonth(_min, 2) &lt;BR /&gt;return&lt;BR /&gt;if('Date'[Date]&amp;gt;= _min &amp;amp;&amp;amp; 'Date'[Date] &amp;lt;= _max , "Latest Qtr" format([Date], "YYYY-QQ") )&lt;/P&gt;
&lt;P&gt;eomonth([Date],if( mod(Month([Date]),3) =0,0,3-1*mod(Month([Date]),3)))+1&lt;/P&gt;
&lt;P&gt;Last year QTD = &lt;BR /&gt;var _max1 = if(isfiltered('Date'),MAX( 'Date'[Date]) , today())&lt;BR /&gt;var _max = date(Year(_max1) -1, month(_max1) , Day(_max1))&lt;BR /&gt;var _min = eomonth(_max,-1* if( mod(Month(_max),3) =0,3,mod(Month(_max),3)))+1&lt;BR /&gt;return&lt;BR /&gt;CALCULATE([net] ,Filter('Date','Date'[Date]&amp;gt;= _min &amp;amp;&amp;amp; 'Date'[Date] &amp;lt;= _max))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power BI — Qtr on Qtr with or Without Time Intelligence &lt;BR /&gt;&lt;A href="https://medium.com/@amitchandak.1978/power-bi-qtd-questions-time-intelligence-2-5-d842063da839" target="_blank"&gt;https://medium.com/@amitchandak.1978/power-bi-qtd-questions-time-intelligence-2-5-d842063da839&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=8-TlVx7P0A0" target="_blank"&gt;https://www.youtube.com/watch?v=8-TlVx7P0A0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 17:04:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-change-Quarter-over-Quarter/m-p/2862377#M92210</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-10-25T17:04:41Z</dc:date>
    </item>
  </channel>
</rss>

