<?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: Two Slicers in one Page How to use All or Allexcept or Allselected properly in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Slicers-in-one-Page-How-to-use-All-or-Allexcept-or/m-p/2602047#M75233</link>
    <description>&lt;P&gt;Hi Amit,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the M91, I tried your solution, it doesn't work well as I believe it is the ALL function still holding highest priority and calculate all information from the table. However I have made a M91-5 to work it out. Please see below snapshot for more details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 26 Jun 2022 09:15:54 GMT</pubDate>
    <dc:creator>MichelleQLi</dc:creator>
    <dc:date>2022-06-26T09:15:54Z</dc:date>
    <item>
      <title>Two Slicers in one Page How to use All or Allexcept or Allselected properly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Slicers-in-one-Page-How-to-use-All-or-Allexcept-or/m-p/2598981#M75066</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a fact table "&lt;STRONG&gt;FT-Mitre10"&amp;nbsp; (plese see below picture/snapshot for details).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My Power BI sheet has two filters on the same page:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;- Category&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;- Rate Captured (which is Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just feel confused how to use filter funtion to make&lt;STRONG&gt; two filters working at the same time.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Below is my current failed funtions:&lt;/P&gt;&lt;P&gt;M91 = CALCULATE(AVERAGE('FT-Mitre10'[Rate]), FILTER(ALLSELECTED('FT-Mitre10'[Category]), MIN('FT-Mitre10'[Rate Captured])))&lt;BR /&gt;M92 = CALCULATE(AVERAGE('FT-Mitre10'[Rate]), FILTER('FT-Mitre10', 'FT-Mitre10'[Rate Captured]= MIN('FT-Mitre10'[Rate Captured])))&lt;BR /&gt;M93 = CALCULATE(AVERAGE('FT-Mitre10'[Rate]), FILTER(ALL('FT-Mitre10'), 'FT-Mitre10'[Rate Captured] = MIN('FT-Mitre10'[Rate Captured])))&lt;BR /&gt;M94 = CALCULATE('FT-Mitre10'[M91], FILTER(ALL('FT-Mitre10'), 'FT-Mitre10'[Rate Captured] = MIN('FT-Mitre10'[Rate Captured])))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Expectation is:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;M91 is a fixed rate, showing single item rate on the earliest date (which is 2022/03/18 rate in this case).&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Won't be affected by Date filters. But currently, it changes when I select on different date.&lt;/P&gt;&lt;P&gt;I tried to use All function to fixed date, which is my current &lt;STRONG&gt;M93.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;However, it makes my rate no longer single item rate but an average rate of all items, which is not what I expected.&lt;/P&gt;&lt;P&gt;I want a single item rate but the date is the earliest date of All Table rather than earliest date of Date Filter.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;M94 is me tried to use two nested filter to get rid of ALL function, I thought M91 result gonna be single item rate, then I can use ALL only to control date filter. But failed, seems ALL still will control all....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;M92 is a non-fixed rate, showing single item rate on the earliest selected date.&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Will be affected by the Date filter.&lt;/P&gt;&lt;P&gt;Will be affected by the Category filter.&lt;/P&gt;&lt;P&gt;Currently, it seems working fine as I expected. But I don't get the difference of my current M91 and M92.&lt;/P&gt;&lt;P&gt;Under what circumstances those two measures will show different result?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 23:32:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Slicers-in-one-Page-How-to-use-All-or-Allexcept-or/m-p/2598981#M75066</guid>
      <dc:creator>MichelleQLi</dc:creator>
      <dc:date>2022-06-23T23:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Two Slicers in one Page How to use All or Allexcept or Allselected properly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Slicers-in-one-Page-How-to-use-All-or-Allexcept-or/m-p/2600781#M75154</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="394749" data-lia-user-login="MichelleQLi" class="lia-mention lia-mention-user"&gt;MichelleQLi&lt;/a&gt; , Based on what I got &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;M91 = &lt;BR /&gt;Var _min = minx(all('FT-Mitre10') , 'FT-Mitre10'[Rate Captured])&lt;BR /&gt;return &lt;BR /&gt;CALCULATE(AVERAGE('FT-Mitre10'[Rate]), FILTER(all('FT-Mitre10'), 'FT-Mitre10'[Rate Captured] =_min ))&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;M92 = &lt;BR /&gt;Var _min = minx(allselected('FT-Mitre10') , 'FT-Mitre10'[Rate Captured])&lt;BR /&gt;return &lt;BR /&gt;CALCULATE(AVERAGE('FT-Mitre10'[Rate]), FILTER('FT-Mitre10', 'FT-Mitre10'[Rate Captured] =_min ))&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 13:51:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Slicers-in-one-Page-How-to-use-All-or-Allexcept-or/m-p/2600781#M75154</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-06-24T13:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Two Slicers in one Page How to use All or Allexcept or Allselected properly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Slicers-in-one-Page-How-to-use-All-or-Allexcept-or/m-p/2602035#M75230</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Big thanks for your M92 which is more concise and clear than mine. I totally accept your solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ngā mihi | Kind Regards,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Michelle Q Li&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2022 09:11:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Slicers-in-one-Page-How-to-use-All-or-Allexcept-or/m-p/2602035#M75230</guid>
      <dc:creator>MichelleQLi</dc:creator>
      <dc:date>2022-06-26T09:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Two Slicers in one Page How to use All or Allexcept or Allselected properly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Slicers-in-one-Page-How-to-use-All-or-Allexcept-or/m-p/2602047#M75233</link>
      <description>&lt;P&gt;Hi Amit,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the M91, I tried your solution, it doesn't work well as I believe it is the ALL function still holding highest priority and calculate all information from the table. However I have made a M91-5 to work it out. Please see below snapshot for more details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2022 09:15:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Slicers-in-one-Page-How-to-use-All-or-Allexcept-or/m-p/2602047#M75233</guid>
      <dc:creator>MichelleQLi</dc:creator>
      <dc:date>2022-06-26T09:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Two Slicers in one Page How to use All or Allexcept or Allselected properly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Slicers-in-one-Page-How-to-use-All-or-Allexcept-or/m-p/2602049#M75234</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2022 09:16:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Slicers-in-one-Page-How-to-use-All-or-Allexcept-or/m-p/2602049#M75234</guid>
      <dc:creator>MichelleQLi</dc:creator>
      <dc:date>2022-06-26T09:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Two Slicers in one Page How to use All or Allexcept or Allselected properly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Slicers-in-one-Page-How-to-use-All-or-Allexcept-or/m-p/2602051#M75235</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2022 09:17:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Slicers-in-one-Page-How-to-use-All-or-Allexcept-or/m-p/2602051#M75235</guid>
      <dc:creator>MichelleQLi</dc:creator>
      <dc:date>2022-06-26T09:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Two Slicers in one Page How to use All or Allexcept or Allselected properly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Slicers-in-one-Page-How-to-use-All-or-Allexcept-or/m-p/2602053#M75236</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2022 09:18:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Slicers-in-one-Page-How-to-use-All-or-Allexcept-or/m-p/2602053#M75236</guid>
      <dc:creator>MichelleQLi</dc:creator>
      <dc:date>2022-06-26T09:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Two Slicers in one Page How to use All or Allexcept or Allselected properly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Slicers-in-one-Page-How-to-use-All-or-Allexcept-or/m-p/3712776#M144460</link>
      <description>&lt;P&gt;We need to clearly understand the diffrence between ALL ,ALLSELECTED and ALLEXCEPT and then how to use them .&lt;/P&gt;&lt;P&gt;If i try to explain everything in this blog post it comes too lengthy .Found one of the best videos which clearly gives the difference with a single example that clears all the confusion .Hope this helps .Cheers !&lt;/P&gt;&lt;P&gt;&lt;A title="All Vs AllSelected Vs AllExcept " href="https://www.youtube.com/watch?v=aVVua4fG1V0" target="_self"&gt;https://www.youtube.com/watch?v=aVVua4fG1V0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 02:24:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-Slicers-in-one-Page-How-to-use-All-or-Allexcept-or/m-p/3712776#M144460</guid>
      <dc:creator>powerbi_zone</dc:creator>
      <dc:date>2024-02-21T02:24:00Z</dc:date>
    </item>
  </channel>
</rss>

