<?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: How to Make a Measure Ignore Filters in One Field in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Make-a-Measure-Ignore-Filters-in-One-Field/m-p/1502468#M29074</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="137529" data-lia-user-login="tmjones2" class="lia-mention lia-mention-user"&gt;tmjones2&lt;/a&gt; removefilters('Fact'[RiskRegionKeyDim])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but better to have this filter from RiskRegion table and remove it&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2020 15:25:31 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2020-11-18T15:25:31Z</dc:date>
    <item>
      <title>How to Make a Measure Ignore Filters in One Field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Make-a-Measure-Ignore-Filters-in-One-Field/m-p/1502387#M29066</link>
      <description>&lt;P&gt;I'm trying to get a measure to ignore all filters in one field ('Fact'[RiskRegionKeyDim]). The measure I have below works if you don't use any slicers but if you try to slice on anything it doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;ClaimsOnDifferentLossState = &lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;CALCULATE( [TotalClaims], &lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;FILTER(ALL('Fact'), &lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;'Fact'[LossRegionKeyDim] = selectedvalue('Fact'[RiskRegionKeyDim]) &amp;amp;&amp;amp; &lt;FONT color="#339966"&gt;//&lt;FONT&gt;Loss State is the Risk State &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;'Fact'[RiskRegionKeyDim] &amp;lt;&amp;gt; selectedValue('Fact'[RiskRegionKeyDim]) &lt;FONT color="#339966"&gt;//We only care about Georgia Loss State records for Non-Georgia Risk States&lt;/FONT&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT size="2" color="#339966"&gt;&lt;SPAN&gt;//&amp;amp;&amp;amp; 'Fact'[DivisionKeyDim] = SELECTEDVALUE('Fact'[DivisionKeyDim]) //this makes it work with the Division slicer&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT size="2"&gt;) ) &lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sure this doesn't work with other filters because of my use of ALL, but I can't get it to work any other way. This actually does work if you just keep adding "&lt;STRONG&gt;&amp;amp;&amp;amp; {some dimension} = selectedvalue{some dimension}&lt;/STRONG&gt;" for every field that could possibly be filtered but that is obviously not the right way to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The actual description of what I'm trying to do is hard to explain but I think if I can just get a high level understanding of why this doesn't work I should be good to go. I tried using ALLEXCEPT and it was a disaster... not sure what else to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's the real way to solve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 14:54:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Make-a-Measure-Ignore-Filters-in-One-Field/m-p/1502387#M29066</guid>
      <dc:creator>tmjones2</dc:creator>
      <dc:date>2020-11-18T14:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to Make a Measure Ignore Filters in One Field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Make-a-Measure-Ignore-Filters-in-One-Field/m-p/1502468#M29074</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="137529" data-lia-user-login="tmjones2" class="lia-mention lia-mention-user"&gt;tmjones2&lt;/a&gt; removefilters('Fact'[RiskRegionKeyDim])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but better to have this filter from RiskRegion table and remove it&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 15:25:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Make-a-Measure-Ignore-Filters-in-One-Field/m-p/1502468#M29074</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-11-18T15:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to Make a Measure Ignore Filters in One Field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Make-a-Measure-Ignore-Filters-in-One-Field/m-p/1502509#M29081</link>
      <description>&lt;P&gt;I'm not exactly sure what you mean, what do I replace? Do I still need a FILTER function in there? Seems like it either throws me an error or the result is the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 15:40:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Make-a-Measure-Ignore-Filters-in-One-Field/m-p/1502509#M29081</guid>
      <dc:creator>tmjones2</dc:creator>
      <dc:date>2020-11-18T15:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to Make a Measure Ignore Filters in One Field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Make-a-Measure-Ignore-Filters-in-One-Field/m-p/1505454#M29176</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="137529" data-lia-user-login="tmjones2" class="lia-mention lia-mention-user"&gt;tmjones2&lt;/a&gt;&amp;nbsp;, it's fairly straightforward,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ClaimsOnDifferentLossState = CALCULATE( [TotalClaims], ALL ('Fact'[RiskRegionKeyDim]) )

or equally

ClaimsOnDifferentLossState = CALCULATE( [TotalClaims], REMOVEFILTERS('Fact'[RiskRegionKeyDim]) )&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 19 Nov 2020 16:15:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Make-a-Measure-Ignore-Filters-in-One-Field/m-p/1505454#M29176</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2020-11-19T16:15:22Z</dc:date>
    </item>
  </channel>
</rss>

