<?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 Why these 2 measures give a different total? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-these-2-measures-give-a-different-total/m-p/2108185#M48200</link>
    <description>&lt;P&gt;I have only these 2 measures in a visual:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure 1:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;VAR V1=
ADDCOLUMNS(
VALUES (Fact[Key_Customer] ), 
"C1",             
CALCULATE([RevenueYTD],SAMEPERIODLASTYEAR('Date'[Date]),REMOVEFILTERS(Fact[Segment],Fact[Type])
)  
)

RETURN SUMX(V1, [C1])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure 2:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CALCULATE ( [RevenueYTD], SAMEPERIODLASTYEAR('Date'[Date]) )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use Measure 1 mostly, because I am preventing certain splits, that I prefer grouped by Customer….&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is: why do I get 2 different TOTALS?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;(I expected to see the totals as exactly the same. For the above case; I have no filter, its just a clean matrix visualization with both measures as ‘Values’!)&lt;/P&gt;</description>
    <pubDate>Thu, 30 Sep 2021 12:39:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-09-30T12:39:26Z</dc:date>
    <item>
      <title>Why these 2 measures give a different total?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-these-2-measures-give-a-different-total/m-p/2108185#M48200</link>
      <description>&lt;P&gt;I have only these 2 measures in a visual:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure 1:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;VAR V1=
ADDCOLUMNS(
VALUES (Fact[Key_Customer] ), 
"C1",             
CALCULATE([RevenueYTD],SAMEPERIODLASTYEAR('Date'[Date]),REMOVEFILTERS(Fact[Segment],Fact[Type])
)  
)

RETURN SUMX(V1, [C1])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure 2:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CALCULATE ( [RevenueYTD], SAMEPERIODLASTYEAR('Date'[Date]) )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use Measure 1 mostly, because I am preventing certain splits, that I prefer grouped by Customer….&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is: why do I get 2 different TOTALS?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;(I expected to see the totals as exactly the same. For the above case; I have no filter, its just a clean matrix visualization with both measures as ‘Values’!)&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 12:39:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-these-2-measures-give-a-different-total/m-p/2108185#M48200</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-30T12:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why these 2 measures give a different total?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-these-2-measures-give-a-different-total/m-p/2108391#M48209</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hard to tell specifically without the model, syntax for [RevenueYTD] or any data, but at first glance you do a REMOVEFILTERS in the first one and not on the second one.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 14:15:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Why-these-2-measures-give-a-different-total/m-p/2108391#M48209</guid>
      <dc:creator>dedelman_clng</dc:creator>
      <dc:date>2021-09-30T14:15:03Z</dc:date>
    </item>
  </channel>
</rss>

