<?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: Trouble with REMOVEFILTERS in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trouble-with-REMOVEFILTERS/m-p/4138364#M164393</link>
    <description>&lt;P&gt;This is what I ended up doing. I just had to add back the specific desired date range after the REMOVEFILTERS(DimDate) occurred. Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 06 Sep 2024 20:39:15 GMT</pubDate>
    <dc:creator>IM_TRYING_HERE</dc:creator>
    <dc:date>2024-09-06T20:39:15Z</dc:date>
    <item>
      <title>Trouble with REMOVEFILTERS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trouble-with-REMOVEFILTERS/m-p/4104830#M162898</link>
      <description>&lt;P&gt;I have a CALCULATE measure that references a fact table and a slicer on the report page references a DateTable that has a relationship with that Fact table.&lt;BR /&gt;My issue is, I would think that since there is a relationship between the Fact Table and the Date Table, that I could reference any of the columns of the DateTable or the Key date column in the fact table and put it inside the REMOVEFILTERS function and it would work. But it seems like I have to explicity use the exact table and column that is used to create the report slicer.&lt;BR /&gt;&lt;BR /&gt;Am I missing something? If my measure gets used on a report that is sliced by Day then a new measure would have to be made if I wanted to use it on a report that was sliced by month? Example Below&lt;BR /&gt;&lt;BR /&gt;CALCULATE(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SUMX (FactDailyInfo, FactDailyInfo[Income])&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ,REMOVEFILTERS ( DimDate[MonthYear]) )&lt;BR /&gt;This is what I would have to use if my report slicer was using DimDate[MonthYear]. But why couldn't I use DimDate[Date] since there is a relationship between the DimDate[Table] and it is the most granular level filter I would prefer to use it if possible.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 19:43:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trouble-with-REMOVEFILTERS/m-p/4104830#M162898</guid>
      <dc:creator>IM_TRYING_HERE</dc:creator>
      <dc:date>2024-08-16T19:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with REMOVEFILTERS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trouble-with-REMOVEFILTERS/m-p/4104898#M162903</link>
      <description>&lt;P&gt;By design, REMOVEFILTERS only removes filters on the tables/columns you specify.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that you can write REMOVEFILTERS ( DimDate ) to remove filters from all columns in the DimDate table.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 21:57:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trouble-with-REMOVEFILTERS/m-p/4104898#M162903</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2024-08-16T21:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with REMOVEFILTERS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trouble-with-REMOVEFILTERS/m-p/4108951#M163052</link>
      <description>&lt;P&gt;&lt;FONT&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="726957" data-lia-user-login="IM_TRYING_HERE" class="lia-mention lia-mention-user"&gt;IM_TRYING_HERE&lt;/a&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply from&amp;nbsp;AlexisOlson.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, you used the column in DateTable as a slicer, but you need to remove the filtering role of that column in Measure right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your problem is not solved yet, could you please provide some sample data and the expected results based on that sample data? This will help us to help you better.&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;How to provide sample data in the Power BI Forum - Microsoft Fabric Community&lt;/A&gt;&amp;nbsp;Or show them as screenshots or pbix. Please remove any sensitive data in advance. If uploading pbix files please do not log into your account.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yulia Xu&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 10:06:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trouble-with-REMOVEFILTERS/m-p/4108951#M163052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-20T10:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with REMOVEFILTERS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trouble-with-REMOVEFILTERS/m-p/4138364#M164393</link>
      <description>&lt;P&gt;This is what I ended up doing. I just had to add back the specific desired date range after the REMOVEFILTERS(DimDate) occurred. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 20:39:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trouble-with-REMOVEFILTERS/m-p/4138364#M164393</guid>
      <dc:creator>IM_TRYING_HERE</dc:creator>
      <dc:date>2024-09-06T20:39:15Z</dc:date>
    </item>
  </channel>
</rss>

