<?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: DAX Calculate Filtering Issue - Aggregate Wrong, Data Correct? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculate-Filtering-Issue-Aggregate-Wrong-Data-Correct/m-p/732123#M1815</link>
    <description>&lt;P&gt;Mate, would you mind posting some kind of screenshot of what the issue is you're talking about? Why do you want these two measures to return the same values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, using&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;	filter(
		'Table',
		COUNT( Table[ID] ) &amp;gt; 1
	)&lt;/PRE&gt;&lt;P&gt;executes COUNT(...) &lt;STRONG&gt;without context transition&lt;/STRONG&gt; and - depending on what you have in the Table - it does not filter anything or filters out everything. But why the two measures return different values I can't tell since I can't see where and how they're being used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jul 2019 23:36:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-04T23:36:57Z</dc:date>
    <item>
      <title>DAX Calculate Filtering Issue - Aggregate Wrong, Data Correct?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculate-Filtering-Issue-Aggregate-Wrong-Data-Correct/m-p/731125#M1768</link>
      <description>&lt;P&gt;I am using two DAX measures; Measure 1 works fine. Measure 2 shows the same aggregate as Measure 1. However, Measure 2 displays the correct values in a table (except for the total).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm guessing I did not set the filter ideally, or have a problem filtering on the result?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Measure1 = CALCULATE(DISTINCTCOUNT('Table'[ID]), 'Table'[Summary] &amp;lt;&amp;gt; "X")&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;Measure2 = CALCULATE(DISTINCTCOUNT('Table'[ID]), 'Table'[Summary] &amp;lt;&amp;gt; "X", FILTER('Table', COUNT('Table'[ID]) &amp;gt; 1))&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 03 Jul 2019 17:01:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculate-Filtering-Issue-Aggregate-Wrong-Data-Correct/m-p/731125#M1768</guid>
      <dc:creator>Unity</dc:creator>
      <dc:date>2019-07-03T17:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Calculate Filtering Issue - Aggregate Wrong, Data Correct?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculate-Filtering-Issue-Aggregate-Wrong-Data-Correct/m-p/732123#M1815</link>
      <description>&lt;P&gt;Mate, would you mind posting some kind of screenshot of what the issue is you're talking about? Why do you want these two measures to return the same values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, using&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;	filter(
		'Table',
		COUNT( Table[ID] ) &amp;gt; 1
	)&lt;/PRE&gt;&lt;P&gt;executes COUNT(...) &lt;STRONG&gt;without context transition&lt;/STRONG&gt; and - depending on what you have in the Table - it does not filter anything or filters out everything. But why the two measures return different values I can't tell since I can't see where and how they're being used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 23:36:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculate-Filtering-Issue-Aggregate-Wrong-Data-Correct/m-p/732123#M1815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-04T23:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Calculate Filtering Issue - Aggregate Wrong, Data Correct?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculate-Filtering-Issue-Aggregate-Wrong-Data-Correct/m-p/734350#M1921</link>
      <description>&lt;P&gt;They are supposed to return different results. They do on a data level, but not on a total level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;How would you reccomend I do the context transition?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 15:55:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculate-Filtering-Issue-Aggregate-Wrong-Data-Correct/m-p/734350#M1921</guid>
      <dc:creator>Unity</dc:creator>
      <dc:date>2019-07-08T15:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Calculate Filtering Issue - Aggregate Wrong, Data Correct?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculate-Filtering-Issue-Aggregate-Wrong-Data-Correct/m-p/734406#M1926</link>
      <description>&lt;P&gt;Please paste some screenshots of your model and tell us what you want Measure2 to do... It's not clear what you want it to do at this point. If you can, please give us a CLEAR explanation of how the measure should work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 17:00:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculate-Filtering-Issue-Aggregate-Wrong-Data-Correct/m-p/734406#M1926</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-08T17:00:00Z</dc:date>
    </item>
  </channel>
</rss>

