<?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 Remove Filters Not Working in this DAX Formula in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-Filters-Not-Working-in-this-DAX-Formula/m-p/3255761#M120237</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to remove one filter from this DAX formula but it is not working. I would use ALLEXCEPT() but there are so many other filters I need to keep that REMOVEFILTERS() seemed like the best option here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts would be greatly appreciated!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;Group Differentiation Market = 
VAR s = SUMMARIZE(ALLSELECTED(pbix_cr_quads),
                pbix_cr_quads[upc], "diff", [Mkt Differentiation])
RETURN
CALCULATE(AVERAGEX(s, [diff]), REMOVEFILTERS(pbix_cr_quads[product_level]))​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 May 2023 16:47:02 GMT</pubDate>
    <dc:creator>rmcconnell340</dc:creator>
    <dc:date>2023-05-26T16:47:02Z</dc:date>
    <item>
      <title>Remove Filters Not Working in this DAX Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-Filters-Not-Working-in-this-DAX-Formula/m-p/3255761#M120237</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to remove one filter from this DAX formula but it is not working. I would use ALLEXCEPT() but there are so many other filters I need to keep that REMOVEFILTERS() seemed like the best option here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts would be greatly appreciated!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;Group Differentiation Market = 
VAR s = SUMMARIZE(ALLSELECTED(pbix_cr_quads),
                pbix_cr_quads[upc], "diff", [Mkt Differentiation])
RETURN
CALCULATE(AVERAGEX(s, [diff]), REMOVEFILTERS(pbix_cr_quads[product_level]))​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 16:47:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-Filters-Not-Working-in-this-DAX-Formula/m-p/3255761#M120237</guid>
      <dc:creator>rmcconnell340</dc:creator>
      <dc:date>2023-05-26T16:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Filters Not Working in this DAX Formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-Filters-Not-Working-in-this-DAX-Formula/m-p/3256204#M120262</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how your datamodel looks like, but please try something like below whether it suits your requirement.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Group Differentiation Market =
VAR _s =
    ADDCOLUMNS (
        SUMMARIZE ( ALLSELECTED ( pbix_cr_quads ), pbix_cr_quads[upc] ),
        "@diff",
            CALCULATE (
                [Mkt Differentiation],
                ALL ( pbix_cr_quads[product_level] )
            )
    )
RETURN
    AVERAGEX ( _s, [@diff] )
&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 27 May 2023 06:37:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-Filters-Not-Working-in-this-DAX-Formula/m-p/3256204#M120262</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2023-05-27T06:37:00Z</dc:date>
    </item>
  </channel>
</rss>

