<?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: Return only max value by filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-only-max-value-by-filter/m-p/3888822#M151682</link>
    <description>&lt;P&gt;Yes, for the same table you can include columns from that table in single ALLEXCEPT, when using ALLEXCEPT on Many side you can include even the entire table on the one side: ALLEXCEPT ( Fact, Dimension1, Dimension2, Dimension2[Col1], Dimension3[Col2] )&lt;/P&gt;</description>
    <pubDate>Fri, 03 May 2024 10:53:49 GMT</pubDate>
    <dc:creator>AntrikshSharma</dc:creator>
    <dc:date>2024-05-03T10:53:49Z</dc:date>
    <item>
      <title>Return only max value by filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-only-max-value-by-filter/m-p/3888316#M151668</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to ask you to solve the problem with my dax. I want to return the max value for each filter (product). For example for product one returned value should be 50, for product 2 25, for product 3 100.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 08:12:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-only-max-value-by-filter/m-p/3888316#M151668</guid>
      <dc:creator>Shawel_pl</dc:creator>
      <dc:date>2024-05-03T08:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Return only max value by filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-only-max-value-by-filter/m-p/3888348#M151669</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="736429" data-lia-user-login="Shawel_pl" class="lia-mention lia-mention-user"&gt;Shawel_pl&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are many ways to achieve your required output, and one of them is like below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 08:29:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-only-max-value-by-filter/m-p/3888348#M151669</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2024-05-03T08:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Return only max value by filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-only-max-value-by-filter/m-p/3888384#M151671</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="736429" data-lia-user-login="Shawel_pl" class="lia-mention lia-mention-user"&gt;Shawel_pl&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Max Length = 
CALCULATE ( 
    MAX ( 'Table'[Length] ), 
    ALLEXCEPT ( 'Table', 'Table'[Product] ) 
)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 03 May 2024 08:45:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-only-max-value-by-filter/m-p/3888384#M151671</guid>
      <dc:creator>AntrikshSharma</dc:creator>
      <dc:date>2024-05-03T08:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Return only max value by filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-only-max-value-by-filter/m-p/3888678#M151677</link>
      <description>&lt;P&gt;Do you think I could include 2 or more allexcept filters to that formula if I'd like to group it by 2 or more column?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 10:11:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-only-max-value-by-filter/m-p/3888678#M151677</guid>
      <dc:creator>Shawel_pl</dc:creator>
      <dc:date>2024-05-03T10:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Return only max value by filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-only-max-value-by-filter/m-p/3888822#M151682</link>
      <description>&lt;P&gt;Yes, for the same table you can include columns from that table in single ALLEXCEPT, when using ALLEXCEPT on Many side you can include even the entire table on the one side: ALLEXCEPT ( Fact, Dimension1, Dimension2, Dimension2[Col1], Dimension3[Col2] )&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 10:53:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-only-max-value-by-filter/m-p/3888822#M151682</guid>
      <dc:creator>AntrikshSharma</dc:creator>
      <dc:date>2024-05-03T10:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Return only max value by filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-only-max-value-by-filter/m-p/3889040#M151685</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;one more question. I have set up filters for example I set up filter to disable product number 2 to be seen in table. Though &amp;nbsp;It's not seen in visualization the value is still being grabbed by dax and if the value from product number 2 is the largest then dax returns it as biggest value among products 1-3 even though number 2 is disabled. How to execute the filter?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I guess I found the way. In my formula I added filter product&amp;lt;&amp;gt;"2"&lt;/P&gt;&lt;P&gt;do you think it's a good way to include the filter within all except function?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 12:39:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-only-max-value-by-filter/m-p/3889040#M151685</guid>
      <dc:creator>Shawel_pl</dc:creator>
      <dc:date>2024-05-03T12:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Return only max value by filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-only-max-value-by-filter/m-p/3893488#M151771</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="236628" data-lia-user-login="AntrikshSharma" class="lia-mention lia-mention-user"&gt;AntrikshSharma&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="236628" data-lia-user-login="AntrikshSharma" class="lia-mention lia-mention-user"&gt;AntrikshSharma&lt;/a&gt;&amp;nbsp;,thanks for the quick replies, I'll add further.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="736429" data-lia-user-login="Shawel_pl" class="lia-mention lia-mention-user"&gt;Shawel_pl&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Regarding your question, I think there is no problem. Dax's calculation environment is divided into external filter conditions and internal filter conditions, the internal filter conditions will override the external filter conditions. 'ALLEXCEPT' function will clear the corresponding external filter conditions, you can only set up the corresponding internal filter conditions in dax.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 02:50:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-only-max-value-by-filter/m-p/3893488#M151771</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-06T02:50:35Z</dc:date>
    </item>
  </channel>
</rss>

