<?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: Help with Last Quarter Formula in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Last-Quarter-Formula/m-p/4632351#M177359</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your reply, and please share your sample pbix file's link here, and then I can try to look into it.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Apr 2025 02:44:35 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2025-04-01T02:44:35Z</dc:date>
    <item>
      <title>Help with Last Quarter Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Last-Quarter-Formula/m-p/4631783#M177342</link>
      <description>&lt;P&gt;I calculated the sum for last quarter and last quarter previous year but they only work when I plot them against a time period.&lt;/P&gt;&lt;P&gt;I am trying to plot it against customer name instead and the measures just return blanks.&lt;/P&gt;&lt;P&gt;My data has sums of activity by quarterly dates only, not daily.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;These are my measures that are working but only if plotted against date logic.&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&lt;STRONG&gt;Net Added Last Quarter&lt;/STRONG&gt; =&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;OWSSummaryByQuarterByEU&lt;/SPAN&gt;&lt;SPAN&gt;[channel_licenses_net_added]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;PREVIOUSQUARTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;OWSSummaryByQuarterByEu&lt;/SPAN&gt;&lt;SPAN&gt;[End of Quarter]&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;STRONG&gt;Net Added Last Quarter Prior Year&lt;/STRONG&gt; =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Net Added Last Quarter]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;SAMEPERIODLASTYEAR&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;OWSSummaryByQuarterByEU&lt;/SPAN&gt;&lt;SPAN&gt;[End of Quarter]&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Does anyone have a formula that would give me the sum of last quarter when not plotted against time?&lt;/DIV&gt;&lt;DIV&gt;I'm assuming it needs to be a calculated column but everything I try is returning blank or error.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Willing to try DAX or Power Query solutions.&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 31 Mar 2025 16:01:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Last-Quarter-Formula/m-p/4631783#M177342</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-03-31T16:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Last Quarter Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Last-Quarter-Formula/m-p/4631850#M177347</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;I tried to use INDEX DAX function in the measure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/index-function-dax?wt.mc_id=DP-MVP-5004989" target="_blank"&gt;INDEX function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&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;
&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;
&lt;LI-CODE lang="markup"&gt;Latest YearQuarter Sales: =
VAR _latestquarter =
    INDEX (
        1,
        FILTER (
            ALL ( 'calendar'[Year-Quarter] ),
            CALCULATE ( SUM ( sales[sales] ) ) &amp;lt;&amp;gt; BLANK ()
        ),
        ORDERBY ( 'calendar'[Year-Quarter], DESC )
    )
RETURN
    CALCULATE (
        SUM ( sales[sales] ),
        KEEPFILTERS ( 'calendar'[Year-Quarter] = _latestquarter )
    )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 16:38:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Last-Quarter-Formula/m-p/4631850#M177347</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2025-03-31T16:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Last Quarter Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Last-Quarter-Formula/m-p/4631935#M177350</link>
      <description>&lt;P&gt;Using the above gives me the error "A Circular Dependency was detected"&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 17:29:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Last-Quarter-Formula/m-p/4631935#M177350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-03-31T17:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Last Quarter Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Last-Quarter-Formula/m-p/4632351#M177359</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your reply, and please share your sample pbix file's link here, and then I can try to look into it.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 02:44:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Last-Quarter-Formula/m-p/4632351#M177359</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2025-04-01T02:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Last Quarter Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Last-Quarter-Formula/m-p/4641011#M177709</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please have a look at this link to resolve circular dependency&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/answers/questions/1095117/circular-dependency-detected-on-resource" target="_blank"&gt;https://learn.microsoft.com/en-us/answers/questions/1095117/circular-dependency-detected-on-resource&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vinay Pabbu&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 11:58:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Last-Quarter-Formula/m-p/4641011#M177709</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-07T11:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Last Quarter Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Last-Quarter-Formula/m-p/4648815#M177962</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?&lt;BR /&gt;If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Vinay Pabbu&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 13:36:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Last-Quarter-Formula/m-p/4648815#M177962</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-11T13:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Last Quarter Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Last-Quarter-Formula/m-p/4651682#M178055</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I ask if you have gotten this issue resolved?&lt;/P&gt;
&lt;P&gt;If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Vinay Pabbu&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 13:19:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Last-Quarter-Formula/m-p/4651682#M178055</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-14T13:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Last Quarter Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Last-Quarter-Formula/m-p/4657452#M178326</link>
      <description>&lt;P&gt;Hi&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/774743" target="_blank"&gt;@CiaraCaryl&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?&lt;BR /&gt;If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Vinay Pabbu&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 12:01:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Last-Quarter-Formula/m-p/4657452#M178326</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-17T12:01:51Z</dc:date>
    </item>
  </channel>
</rss>

