<?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 Measure calculating total &amp;amp; additional rows in Matrix in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Measure-calculating-total-amp-additional-rows-in-Matrix/m-p/2817384#M89376</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="399872" data-lia-user-login="Tob_P" class="lia-mention lia-mention-user"&gt;Tob_P&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;MAX Measure =
IF (
    NOT ISEMPTY ( VALUES ( 'Sales Header'[Sell-to Customer Name] ) ),
    MAXX (
        ALLSELECTED ( 'Sales Header'[Sell-to Customer Name] ),
        [Sales Line Amount]
    )
)&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 04 Oct 2022 15:16:46 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-10-04T15:16:46Z</dc:date>
    <item>
      <title>MAX Measure calculating total &amp; additional rows in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Measure-calculating-total-amp-additional-rows-in-Matrix/m-p/2817305#M89373</link>
      <description>&lt;P&gt;I have created a MAX Measure..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX Measure = &lt;/SPAN&gt;&lt;SPAN&gt;MAXX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Sales Header'&lt;/SPAN&gt;&lt;SPAN&gt;[Sell-to Customer Name]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;[Sales Line Amount]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Which is working fine as it is catching the max value of all the quotes (third level in hierarchy) relating to the first level in my hierarchy.&lt;/DIV&gt;&lt;DIV&gt;However the measure is also calculating the max value of each of the quotes in the matrix. How can I amend my DAX to get it to not do so..&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Additionally, it is also summing the MAX value in the column total...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;...across all the lines and would prefer that to not happen.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Have tried calculated column instead but with no success. Fields included in the matrix hierarchy are all from the same table.&lt;/DIV&gt;&lt;DIV&gt;Any ideas please?&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Oct 2022 14:45:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Measure-calculating-total-amp-additional-rows-in-Matrix/m-p/2817305#M89373</guid>
      <dc:creator>Tob_P</dc:creator>
      <dc:date>2022-10-04T14:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: MAX Measure calculating total &amp; additional rows in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Measure-calculating-total-amp-additional-rows-in-Matrix/m-p/2817384#M89376</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="399872" data-lia-user-login="Tob_P" class="lia-mention lia-mention-user"&gt;Tob_P&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;MAX Measure =
IF (
    NOT ISEMPTY ( VALUES ( 'Sales Header'[Sell-to Customer Name] ) ),
    MAXX (
        ALLSELECTED ( 'Sales Header'[Sell-to Customer Name] ),
        [Sales Line Amount]
    )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 04 Oct 2022 15:16:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/MAX-Measure-calculating-total-amp-additional-rows-in-Matrix/m-p/2817384#M89376</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-10-04T15:16:46Z</dc:date>
    </item>
  </channel>
</rss>

