<?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: Max Total Sales in Matrix Year and countries in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Total-Sales-in-Matrix-Year-and-countries/m-p/3432471#M130150</link>
    <description>&lt;P&gt;Works perfectly thank you! I've learn something today :-). Just replaced all(countries) by all(year)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
    <pubDate>Fri, 15 Sep 2023 07:19:18 GMT</pubDate>
    <dc:creator>mlovejoy</dc:creator>
    <dc:date>2023-09-15T07:19:18Z</dc:date>
    <item>
      <title>Max Total Sales in Matrix Year and countries</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Total-Sales-in-Matrix-Year-and-countries/m-p/3431490#M130101</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;I'm trying in a Matrix to retrieve the Maximum Total Sales of all the Year by countries. Very simple in theory, but it seems more complex in reality as I need to remove the Year filter to place the measures inside the matrix. But removing the all(Year) also changes the context of my Max formula. I tried turnaround with Supporting tables, but it doesn't seem to work as I loose the Year with my technics.&lt;/P&gt;&lt;P&gt;Any straight forward methods? Faced this problematic more than once :slight_smile:&lt;/P&gt;&lt;P&gt;Thanks for you help!&lt;BR /&gt;Mark Lovejoy&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 17:25:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Total-Sales-in-Matrix-Year-and-countries/m-p/3431490#M130101</guid>
      <dc:creator>mlovejoy</dc:creator>
      <dc:date>2023-09-14T17:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Max Total Sales in Matrix Year and countries</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Total-Sales-in-Matrix-Year-and-countries/m-p/3431547#M130104</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="472962" data-lia-user-login="mlovejoy" class="lia-mention lia-mention-user"&gt;mlovejoy&lt;/a&gt;&amp;nbsp;, you can try to use conditions:&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF ( [current value] = max_value, max_value, BLANK() )&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 17:53:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Total-Sales-in-Matrix-Year-and-countries/m-p/3431547#M130104</guid>
      <dc:creator>ERD</dc:creator>
      <dc:date>2023-09-14T17:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Max Total Sales in Matrix Year and countries</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Total-Sales-in-Matrix-Year-and-countries/m-p/3431877#M130116</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291363" data-lia-user-login="ERD" class="lia-mention lia-mention-user"&gt;ERD&lt;/a&gt;&amp;nbsp;thanks for your replay, however it is not that easy. How do you define crurent value? Current value will always be the Max value in the context of a Matrix. The only way would be to remove the Year context, but that would then calculate the Max value of all the years together...&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 21:33:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Total-Sales-in-Matrix-Year-and-countries/m-p/3431877#M130116</guid>
      <dc:creator>mlovejoy</dc:creator>
      <dc:date>2023-09-14T21:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Max Total Sales in Matrix Year and countries</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Total-Sales-in-Matrix-Year-and-countries/m-p/3431878#M130117</link>
      <description>&lt;P&gt;Btw my max value per year is a sum lf Sales.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 21:35:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Total-Sales-in-Matrix-Year-and-countries/m-p/3431878#M130117</guid>
      <dc:creator>mlovejoy</dc:creator>
      <dc:date>2023-09-14T21:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Max Total Sales in Matrix Year and countries</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Total-Sales-in-Matrix-Year-and-countries/m-p/3432386#M130144</link>
      <description>&lt;LI-CODE lang="markup"&gt;max_value =
VAR max_sales = MAXX ( ALL ( 'Table (3)'[country] ), [sales_amt] )
RETURN
    IF ( [sales_amt] = max_sales, [sales_amt], BLANK () )&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 06:26:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Total-Sales-in-Matrix-Year-and-countries/m-p/3432386#M130144</guid>
      <dc:creator>ERD</dc:creator>
      <dc:date>2023-09-15T06:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Max Total Sales in Matrix Year and countries</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Total-Sales-in-Matrix-Year-and-countries/m-p/3432471#M130150</link>
      <description>&lt;P&gt;Works perfectly thank you! I've learn something today :-). Just replaced all(countries) by all(year)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 07:19:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Total-Sales-in-Matrix-Year-and-countries/m-p/3432471#M130150</guid>
      <dc:creator>mlovejoy</dc:creator>
      <dc:date>2023-09-15T07:19:18Z</dc:date>
    </item>
  </channel>
</rss>

