<?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: Difference between two years showing under both years in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-years-showing-under-both-years/m-p/4713283#M180522</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1272456" data-lia-user-login="kpct56591" class="lia-mention lia-mention-user"&gt;kpct56591&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;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;Chaithra.&lt;/P&gt;</description>
    <pubDate>Fri, 30 May 2025 05:29:34 GMT</pubDate>
    <dc:creator>v-echaithra</dc:creator>
    <dc:date>2025-05-30T05:29:34Z</dc:date>
    <item>
      <title>Difference between two years showing under both years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-years-showing-under-both-years/m-p/4683631#M179378</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to have a matrix that displays the YOY difference in quantity shipped. I have a measure that does that, but it displays under both years. How can I remove it from 2023?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I also do not need it to show the difference line if there is no 2023 data for the state.&lt;/P&gt;&lt;P&gt;I attempted to use the Filters on this visual to show only when items are not 0 or not blank, but it hid all 2023 Ship Qty rows.&lt;/P&gt;&lt;P&gt;Here is the measure:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum of Ship Qty difference from 2023 = 
VAR __BASELINE_VALUE =
	CALCULATE(
		SUM('ofrordx'[Ship Qty]),
		'ofrordx'[Ship Date].[Year] IN { 2023 }
	)
VAR __MEASURE_VALUE = SUM('ofrordx'[Ship Qty])
RETURN
	IF(NOT ISBLANK(__MEASURE_VALUE), __MEASURE_VALUE - __BASELINE_VALUE)&lt;/LI-CODE&gt;&lt;P&gt;Many thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 18:45:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-years-showing-under-both-years/m-p/4683631#M179378</guid>
      <dc:creator>kpct56591</dc:creator>
      <dc:date>2025-05-07T18:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two years showing under both years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-years-showing-under-both-years/m-p/4683830#M179384</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1272456" target="_self"&gt;&lt;SPAN class=""&gt;kpct56591&lt;/SPAN&gt;&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;AS per understanding, you are trying to calculate YOY difference in a matrix but it is not showing correct results between 2023 and 2024 columns.&lt;BR /&gt;&lt;BR /&gt;Hope below measure helps you:&lt;BR /&gt;ShipQtyDiffFrom2023 =&lt;BR /&gt;VAR ThisYear = SELECTEDVALUE('ofrordx'[Ship Date].[Year])&lt;BR /&gt;VAR CurrentQty = SUM('ofrordx'[Ship Qty])&lt;BR /&gt;VAR BaseQty2023 =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM('ofrordx'[Ship Qty]),&lt;BR /&gt;'ofrordx'[Ship Date].[Year] = 2023&lt;BR /&gt;)&lt;BR /&gt;RETURN&lt;BR /&gt;IF(&lt;BR /&gt;ThisYear &amp;gt; 2023 &amp;amp;&amp;amp; NOT ISBLANK(BaseQty2023),&lt;BR /&gt;CurrentQty - BaseQty2023&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Define Matrix as below:&lt;BR /&gt;Rows - State column&lt;BR /&gt;Columns - Ship Date[Year]&lt;BR /&gt;Values - Ship Qty and ShipQtyDiffFrom2023&lt;BR /&gt;&lt;BR /&gt;Please let me know if you have further questions. Thanks in advance!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this reply helped solve your problem, please consider clicking "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" so others can benefit too.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;And if you found it useful, a quick "&lt;STRONG&gt;Kudos&lt;/STRONG&gt;" is always appreciated — thanks!&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maruthi&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LinkedIn -&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://www.linkedin.com/in/maruthi-siva-prasad/" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;http://www.linkedin.com/in/maruthi-siva-prasad/&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;X&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://x.com/maruthisp" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Maruthi Siva Prasad - (@MaruthiSP) / X&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 02:37:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-years-showing-under-both-years/m-p/4683830#M179384</guid>
      <dc:creator>maruthisp</dc:creator>
      <dc:date>2025-05-08T02:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two years showing under both years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-years-showing-under-both-years/m-p/4685633#M179462</link>
      <description>&lt;P&gt;Thank you, Maruthi. Your measure works as does the one I posted. It is still showing under both 2023 and 2024 rows. Shown below. I have tried setting the filter to hide ShipQtyDiffFrom2023 if blank, but it then also hides 2023 Ship Qty. Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 22:56:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-years-showing-under-both-years/m-p/4685633#M179462</guid>
      <dc:creator>kpct56591</dc:creator>
      <dc:date>2025-05-08T22:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two years showing under both years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-years-showing-under-both-years/m-p/4686014#M179480</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1272456" data-lia-user-login="kpct56591" class="lia-mention lia-mention-user"&gt;kpct56591&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Try out this below measure&lt;BR /&gt;&lt;BR /&gt;ShipQtyDiffFrom2023 =&lt;BR /&gt;VAR ThisYear = SELECTEDVALUE('ofrordx'[Ship Date].[Year])&lt;BR /&gt;VAR CurrentQty = SUM('ofrordx'[Ship Qty])&lt;BR /&gt;VAR BaseQty2023 =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM('ofrordx'[Ship Qty]),&lt;BR /&gt;'ofrordx'[Ship Date].[Year] = 2023&lt;BR /&gt;)&lt;BR /&gt;RETURN&lt;BR /&gt;IF(&lt;BR /&gt;ThisYear &amp;gt; 2023 &amp;amp;&amp;amp;&lt;BR /&gt;NOT ISBLANK(BaseQty2023) &amp;amp;&amp;amp;&lt;BR /&gt;NOT ISBLANK(CurrentQty),&lt;BR /&gt;CurrentQty - BaseQty2023&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 06:40:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-years-showing-under-both-years/m-p/4686014#M179480</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2025-05-09T06:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two years showing under both years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-years-showing-under-both-years/m-p/4702730#M180118</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1272456" data-lia-user-login="kpct56591" class="lia-mention lia-mention-user"&gt;kpct56591&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&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;Chaithra.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 05:46:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-years-showing-under-both-years/m-p/4702730#M180118</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2025-05-22T05:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two years showing under both years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-years-showing-under-both-years/m-p/4708167#M180321</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1272456" data-lia-user-login="kpct56591" class="lia-mention lia-mention-user"&gt;kpct56591&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;May I ask if you have gotten this issue resolved?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;Chaithra.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 04:51:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-years-showing-under-both-years/m-p/4708167#M180321</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2025-05-27T04:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two years showing under both years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-years-showing-under-both-years/m-p/4713283#M180522</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1272456" data-lia-user-login="kpct56591" class="lia-mention lia-mention-user"&gt;kpct56591&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;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;Chaithra.&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 05:29:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-years-showing-under-both-years/m-p/4713283#M180522</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2025-05-30T05:29:34Z</dc:date>
    </item>
  </channel>
</rss>

