<?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 All not ignoring filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-All-not-ignoring-filter/m-p/4418087#M175429</link>
    <description>&lt;P&gt;I don't "realy want to use Filter" I am trying to understand why it did not work, and what I am not understanding well when using it&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2025 16:35:14 GMT</pubDate>
    <dc:creator>karyani</dc:creator>
    <dc:date>2025-02-19T16:35:14Z</dc:date>
    <item>
      <title>Dax All not ignoring filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-All-not-ignoring-filter/m-p/4417906#M175418</link>
      <description>&lt;P&gt;the model has only 2 table FactTable and dimintions&amp;nbsp;&lt;/P&gt;&lt;P&gt;the measure bellow&amp;nbsp; works as expected, the calculation ignores the dimintion, (in a slicer)&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;calc =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FactTable&lt;/SPAN&gt;&lt;SPAN&gt;[TransactionCode]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,&lt;/SPAN&gt;&lt;SPAN&gt;All&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Dimintion&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if I add a filter on the FactTable it stops ignoring the Diminsion!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;calc =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;(FactTable[TransactionCode]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,&lt;/SPAN&gt;&lt;SPAN&gt;All&lt;/SPAN&gt;&lt;SPAN&gt;(Dimintion&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(FactTable&lt;/SPAN&gt;&lt;SPAN&gt;,FactTable&lt;/SPAN&gt;&lt;SPAN&gt;[CancelXID]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;())&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;after adding the above filter on the FactTable the All(Dimintion) stops working. when selecting differnt values from the slicer the calculation changes.&amp;nbsp; what am I missing here, and how do I write the measure to ignore the Diminsion and still apply the ,FILTER(FactTable,FactTable[CancelXID] &amp;lt;&amp;gt; BLANK()?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;thank you&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Feb 2025 14:13:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-All-not-ignoring-filter/m-p/4417906#M175418</guid>
      <dc:creator>karyani</dc:creator>
      <dc:date>2025-02-19T14:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dax All not ignoring filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-All-not-ignoring-filter/m-p/4417956#M175421</link>
      <description>&lt;P&gt;try something like&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;calc = CALCULATE(DISTINCTCOUNT(FactTable[TransactionCode])
                ,All(Dimintion)
                ,FactTable[CancelXID] &amp;lt;&amp;gt; BLANK()
       )

or even

calc = CALCULATE(DISTINCTCOUNT(FactTable[TransactionCode])
                ,All(Dimintion)
                ,FactTable[CancelXID] 
       )&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Feb 2025 14:52:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-All-not-ignoring-filter/m-p/4417956#M175421</guid>
      <dc:creator>sjoerdvn</dc:creator>
      <dc:date>2025-02-19T14:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dax All not ignoring filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-All-not-ignoring-filter/m-p/4417997#M175422</link>
      <description>&lt;P&gt;The fist option seems to work :), so why Filter does not work?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 15:13:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-All-not-ignoring-filter/m-p/4417997#M175422</guid>
      <dc:creator>karyani</dc:creator>
      <dc:date>2025-02-19T15:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dax All not ignoring filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-All-not-ignoring-filter/m-p/4418013#M175423</link>
      <description>&lt;P&gt;The FILTER expression is evaluated in the "default" context so it includes any filter on "Dimintion" (sic). If you &lt;EM&gt;really&lt;/EM&gt; want to use FILTER (don't know why people are using filter all the time...) you could use something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;calc = CALCULATE(DISTINCTCOUNT(FactTable[TransactionCode])
                ,All(Dimintion)
                ,FILTER(CALCULATETABLE(FactTable,All(Dimintion)),FactTable[CancelXID] &amp;lt;&amp;gt; BLANK())
       )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 15:26:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-All-not-ignoring-filter/m-p/4418013#M175423</guid>
      <dc:creator>sjoerdvn</dc:creator>
      <dc:date>2025-02-19T15:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dax All not ignoring filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-All-not-ignoring-filter/m-p/4418087#M175429</link>
      <description>&lt;P&gt;I don't "realy want to use Filter" I am trying to understand why it did not work, and what I am not understanding well when using it&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 16:35:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-All-not-ignoring-filter/m-p/4418087#M175429</guid>
      <dc:creator>karyani</dc:creator>
      <dc:date>2025-02-19T16:35:14Z</dc:date>
    </item>
  </channel>
</rss>

