<?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: ALL() and REMOVEFILTER() Don't Work Correctly on My Report in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-and-REMOVEFILTER-Don-t-Work-Correctly-on-My-Report/m-p/3800837#M148591</link>
    <description>&lt;P&gt;I did, and it works as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 31 Mar 2024 13:51:31 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-03-31T13:51:31Z</dc:date>
    <item>
      <title>ALL() and REMOVEFILTER() Don't Work Correctly on My Report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-and-REMOVEFILTER-Don-t-Work-Correctly-on-My-Report/m-p/3800383#M148560</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a problem that showing Lifetime amount by using ALL() or REMOVEFILTERS() functions on my report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a new date table as slicer that implies &lt;STRONG&gt;Yesterday, Last 7 Days, Same Day Last Month, All, Custom&lt;/STRONG&gt; &lt;STRONG&gt;etc&lt;/STRONG&gt;., and it works perfect. But when I selected any slicer rather than "All", Lifetime Revenue does not show correct amount.&lt;/P&gt;&lt;P&gt;Since the new slicer table consists duplicate dates, the cross-filter direction on relationship is not single as below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dax query, I've used is to get Life Time Revenue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Revenue_Lifetime = 
 CALCULATE(
    SUM(Revenue[Revenue]),
    ALL('Date Periods'[Date],'Date Periods'[Type])
 )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a sample report that shows the problem,&lt;/P&gt;&lt;P&gt;&lt;A href="https://we.tl/t-Q0SBtDHTFn" target="_blank"&gt;https://we.tl/t-Q0SBtDHTFn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Kisa&lt;/P&gt;</description>
      <pubDate>Sat, 30 Mar 2024 18:36:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-and-REMOVEFILTER-Don-t-Work-Correctly-on-My-Report/m-p/3800383#M148560</guid>
      <dc:creator>vkisa</dc:creator>
      <dc:date>2024-03-30T18:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: ALL() and REMOVEFILTER() Don't Work Correctly on My Report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-and-REMOVEFILTER-Don-t-Work-Correctly-on-My-Report/m-p/3800559#M148572</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="588039" data-lia-user-login="vkisa" class="lia-mention lia-mention-user"&gt;vkisa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this could be due to a sort by column (I would guess the [Order] column. You can include this column inside ALL or just use ALL (&amp;nbsp;'Date Periods' )&lt;/P&gt;</description>
      <pubDate>Sat, 30 Mar 2024 21:42:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-and-REMOVEFILTER-Don-t-Work-Correctly-on-My-Report/m-p/3800559#M148572</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2024-03-30T21:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: ALL() and REMOVEFILTER() Don't Work Correctly on My Report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-and-REMOVEFILTER-Don-t-Work-Correctly-on-My-Report/m-p/3800565#M148573</link>
      <description>&lt;P&gt;Thank you &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;,I tried your suggestion but it still does not affect well. When I selected 'Yesterday', Lifetime Revenue is not same with 'Yesterday' but not equal to Lifetime total as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Mar 2024 22:33:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-and-REMOVEFILTER-Don-t-Work-Correctly-on-My-Report/m-p/3800565#M148573</guid>
      <dc:creator>vkisa</dc:creator>
      <dc:date>2024-03-30T22:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: ALL() and REMOVEFILTER() Don't Work Correctly on My Report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-and-REMOVEFILTER-Don-t-Work-Correctly-on-My-Report/m-p/3800592#M148578</link>
      <description>&lt;P&gt;That's because you have a Top 10 filter on the right table.&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;provided the right solution&amp;nbsp; - ALL('Date Periods')&lt;/P&gt;</description>
      <pubDate>Sun, 31 Mar 2024 00:20:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-and-REMOVEFILTER-Don-t-Work-Correctly-on-My-Report/m-p/3800592#M148578</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-03-31T00:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: ALL() and REMOVEFILTER() Don't Work Correctly on My Report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-and-REMOVEFILTER-Don-t-Work-Correctly-on-My-Report/m-p/3800609#M148579</link>
      <description>&lt;P&gt;I don't know why Top10 affects the output. But it didn't solve this. Are you able to download and look at the report ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Mar 2024 01:24:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-and-REMOVEFILTER-Don-t-Work-Correctly-on-My-Report/m-p/3800609#M148579</guid>
      <dc:creator>vkisa</dc:creator>
      <dc:date>2024-03-31T01:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: ALL() and REMOVEFILTER() Don't Work Correctly on My Report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-and-REMOVEFILTER-Don-t-Work-Correctly-on-My-Report/m-p/3800837#M148591</link>
      <description>&lt;P&gt;I did, and it works as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Mar 2024 13:51:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-and-REMOVEFILTER-Don-t-Work-Correctly-on-My-Report/m-p/3800837#M148591</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-03-31T13:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: ALL() and REMOVEFILTER() Don't Work Correctly on My Report</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-and-REMOVEFILTER-Don-t-Work-Correctly-on-My-Report/m-p/3800874#M148592</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;, it worked after I removed Top10 selection. I create a measure for getting top 10 by using rankx and it did not affect lifetime revenue amounts. I guess there is a different between dafault TopN selection on filters and RANKX function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Mar 2024 15:18:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ALL-and-REMOVEFILTER-Don-t-Work-Correctly-on-My-Report/m-p/3800874#M148592</guid>
      <dc:creator>vkisa</dc:creator>
      <dc:date>2024-03-31T15:18:48Z</dc:date>
    </item>
  </channel>
</rss>

