<?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: Filter/remove filters not working in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-remove-filters-not-working/m-p/4308003#M171090</link>
    <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="770495" data-lia-user-login="MCLHRSM" class="lia-mention lia-mention-user"&gt;MCLHRSM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try like:&lt;/P&gt;
&lt;P&gt;Saldo (all) =&lt;/P&gt;
&lt;P&gt;CALCULATE([Saldo],&lt;/P&gt;
&lt;P&gt;REMOVEFILTERS(DIM_Klasses_MAR_2),&lt;/P&gt;
&lt;P&gt;REMOVEFILTERS(DIM_Klasses_MAR_3),&lt;/P&gt;
&lt;P&gt;REMOVEFILTERS(DIM_Journal_Index),&lt;/P&gt;
&lt;P&gt;ALLSELECTED(FACT_GL))&lt;/P&gt;</description>
    <pubDate>Fri, 29 Nov 2024 18:48:25 GMT</pubDate>
    <dc:creator>FreemanZ</dc:creator>
    <dc:date>2024-11-29T18:48:25Z</dc:date>
    <item>
      <title>Filter/remove filters not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-remove-filters-not-working/m-p/4307956#M171087</link>
      <description>&lt;P&gt;I have a table from which I want to drill-trough to the details.&lt;/P&gt;&lt;P&gt;The table shows financial transactions (bookings) which are flagged as a risk.&lt;/P&gt;&lt;P&gt;In the table, not all financial bookings will be shown. However, once I select the booking_id to drill-through, I want all bookings with the same booking_id to be shown (all bookings on all GL-accounts with the same booking_id).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have following measure:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Saldo (all) =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Saldo]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;REMOVEFILTERS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DIM_Klasses_MAR_2&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;REMOVEFILTERS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DIM_Klasses_MAR_3&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;REMOVEFILTERS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DIM_Journal_Index&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;REMOVEFILTERS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FACT_GL&lt;/SPAN&gt;&lt;SPAN&gt;[Keyword_Flag]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;This works. Other possible filters on the report page are ignored for the drill through, and all bookings with the booking_id are shown.&lt;BR /&gt;I don't want the&amp;nbsp;&lt;SPAN&gt;REMOVEFILTERS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FACT_GL&lt;/SPAN&gt;&lt;SPAN&gt;[Keyword_Flag]&lt;/SPAN&gt;&lt;SPAN&gt;)) to refer to a single column, as other filters from this table can be applied in the future.&lt;BR /&gt;If I change the removefilters to the FACT_GL table, and add other rules such as:&lt;BR /&gt;&lt;BR /&gt;Saldo (all) TEST =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;[Saldo],&lt;BR /&gt;REMOVEFILTERS(DIM_Klasses_MAR_2),&lt;BR /&gt;REMOVEFILTERS(DIM_Klasses_MAR_3),&lt;BR /&gt;REMOVEFILTERS(DIM_Journal_Index),&lt;BR /&gt;REMOVEFILTERS(FACT_GL),&lt;BR /&gt;-- Use ALLEXCEPT to remove all filters from FACT_GL except for Boeking_ID&lt;BR /&gt;ALLEXCEPT(FACT_GL, FACT_GL[Boeking_ID]))&lt;BR /&gt;&lt;BR /&gt;or&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Saldo (all) TEST =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;[Saldo],&lt;BR /&gt;REMOVEFILTERS(DIM_Klasses_MAR_2),&lt;BR /&gt;REMOVEFILTERS(DIM_Klasses_MAR_3),&lt;BR /&gt;REMOVEFILTERS(DIM_Journal_Index),&lt;BR /&gt;REMOVEFILTERS(FACT_GL),&lt;BR /&gt;-- Explicitly ensure the context for Boeking_ID is preserved&lt;BR /&gt;FACT_GL[Boeking_ID] = SELECTEDVALUE(FACT_GL[Boeking_ID])&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;the row level context no longer works. The total is returned for each row, and not the individual booking values.&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 Nov 2024 17:48:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-remove-filters-not-working/m-p/4307956#M171087</guid>
      <dc:creator>MCLHRSM</dc:creator>
      <dc:date>2024-11-29T17:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Filter/remove filters not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-remove-filters-not-working/m-p/4308003#M171090</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="770495" data-lia-user-login="MCLHRSM" class="lia-mention lia-mention-user"&gt;MCLHRSM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try like:&lt;/P&gt;
&lt;P&gt;Saldo (all) =&lt;/P&gt;
&lt;P&gt;CALCULATE([Saldo],&lt;/P&gt;
&lt;P&gt;REMOVEFILTERS(DIM_Klasses_MAR_2),&lt;/P&gt;
&lt;P&gt;REMOVEFILTERS(DIM_Klasses_MAR_3),&lt;/P&gt;
&lt;P&gt;REMOVEFILTERS(DIM_Journal_Index),&lt;/P&gt;
&lt;P&gt;ALLSELECTED(FACT_GL))&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 18:48:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-remove-filters-not-working/m-p/4308003#M171090</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2024-11-29T18:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Filter/remove filters not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-remove-filters-not-working/m-p/4309448#M171138</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case, the correct rows are shown (indicating the filters work correctly).&lt;/P&gt;&lt;P&gt;However, the values for each row show the total value (in this case 0, as it are financial transactions in which debet=credit).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 07:46:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-remove-filters-not-working/m-p/4309448#M171138</guid>
      <dc:creator>MCLHRSM</dc:creator>
      <dc:date>2024-12-02T07:46:09Z</dc:date>
    </item>
  </channel>
</rss>

