<?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: Highlight max value of specific rows and column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highlight-max-value-of-specific-rows-and-column/m-p/3154676#M113111</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank You very much.&amp;nbsp; I appreciate the help from you.&amp;nbsp; I've accepted your solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 26 Mar 2023 21:45:05 GMT</pubDate>
    <dc:creator>ronbermudez</dc:creator>
    <dc:date>2023-03-26T21:45:05Z</dc:date>
    <item>
      <title>Highlight max value of specific rows and column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highlight-max-value-of-specific-rows-and-column/m-p/2887120#M93620</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;DAX driven help:&lt;BR /&gt;I'd like to highlight the max sum values of a specific row and a specific column to provide orientation in a visually driven table.&lt;/P&gt;&lt;P&gt;This will provide an orientation cross of the max value area in the blue area.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each cell in the blue area represents the max sum value for each row or column.&amp;nbsp; Near the periphery of the eye the sum values are less than max.&lt;BR /&gt;&lt;BR /&gt;The only way I can think of doing this is adding +100 to each max value in row 0 and column 0.&amp;nbsp; Then with conditional formatting I can highlight the max+100 values with another color resulting in the orientation cross.&lt;BR /&gt;&lt;BR /&gt;Currently, it looks like this:&lt;img /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected from conditional formatting:&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;Close-up of visual table axis:&lt;/P&gt;&lt;P&gt;Expected column 0 max values = +100&lt;/P&gt;&lt;P&gt;Expected row 0 max values = +100&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here is the Excel file for anyone to help provide a solution or guidance:&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1FvdnXf8kxgQpZlBQD8jgzGXEs47JTzCN/view?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/1FvdnXf8kxgQpZlBQD8jgzGXEs47JTzCN/view?usp=sharing&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 05 Nov 2022 16:50:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highlight-max-value-of-specific-rows-and-column/m-p/2887120#M93620</guid>
      <dc:creator>ronbermudez</dc:creator>
      <dc:date>2022-11-05T16:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight max value of specific rows and column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highlight-max-value-of-specific-rows-and-column/m-p/2887357#M93630</link>
      <description>&lt;P&gt;If I hard code the max value, it works.&amp;nbsp; If I use a variable to attain the max value, it doesn't work.&lt;BR /&gt;&lt;BR /&gt;The measure I tried to get the horizontal part of the cross:&lt;BR /&gt;&lt;BR /&gt;&lt;!--   StartFragment    --&gt;&lt;/P&gt;&lt;P&gt;measure =&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;VAR&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class=""&gt;m&lt;/SPAN&gt;&lt;SPAN class=""&gt; = 16&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;VAR&lt;/SPAN&gt; &lt;SPAN class=""&gt;other&lt;/SPAN&gt;&lt;SPAN class=""&gt; =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;MAX&lt;/SPAN&gt;&lt;SPAN class=""&gt;(raw_data[Y])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;return&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;IF&lt;/SPAN&gt;&lt;SPAN class=""&gt;( [Sum of Value] = 16&amp;nbsp; &amp;amp;&amp;amp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;MAX&lt;/SPAN&gt;&lt;SPAN class=""&gt;(raw_data[y]) =0 , [Sum of Value] +1, [Sum of Value])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;!--   EndFragment    --&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above measure works when I hard code 16 or use VAR m.&amp;nbsp; When I use VAR other, it doesn't work and +1 is added to each cell of the entire row.&amp;nbsp; In other words, I only need +1 added to the max values of the row.&lt;BR /&gt;&lt;BR /&gt;I can't hard code a value, because the max value of the row could change depending how I have the data pivoted.&lt;BR /&gt;&lt;BR /&gt;I'm stumped.&amp;nbsp; Need more help&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2022 03:13:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highlight-max-value-of-specific-rows-and-column/m-p/2887357#M93630</guid>
      <dc:creator>ronbermudez</dc:creator>
      <dc:date>2022-11-06T03:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight max value of specific rows and column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highlight-max-value-of-specific-rows-and-column/m-p/2888332#M93689</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="84564" data-lia-user-login="ronbermudez" class="lia-mention lia-mention-user"&gt;ronbermudez&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please &lt;STRONG&gt;update&lt;/STRONG&gt; the formula of measure as below and check if it can return the correct result...&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
VAR m =
    CALCULATE ( MAX ( raw_data[Y] ), ALLSELECTED ( raw_data ) )
RETURN 
    IF (
        [Sum of Value] = m
            &amp;amp;&amp;amp; MAX ( raw_data[y] ) = 0,
        [Sum of Value] + 1,
        [Sum of Value]
    )&lt;/LI-CODE&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 06:25:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highlight-max-value-of-specific-rows-and-column/m-p/2888332#M93689</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-07T06:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight max value of specific rows and column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highlight-max-value-of-specific-rows-and-column/m-p/2894885#M94063</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="84564" data-lia-user-login="ronbermudez" class="lia-mention lia-mention-user"&gt;ronbermudez&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Whether your problem has been resolved? If yes, could you please mark the helpful post as &lt;STRONG&gt;&lt;SPAN&gt;Answered&lt;/SPAN&gt;&lt;/STRONG&gt;? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 09:18:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highlight-max-value-of-specific-rows-and-column/m-p/2894885#M94063</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-09T09:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight max value of specific rows and column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highlight-max-value-of-specific-rows-and-column/m-p/3154676#M113111</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank You very much.&amp;nbsp; I appreciate the help from you.&amp;nbsp; I've accepted your solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Mar 2023 21:45:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Highlight-max-value-of-specific-rows-and-column/m-p/3154676#M113111</guid>
      <dc:creator>ronbermudez</dc:creator>
      <dc:date>2023-03-26T21:45:05Z</dc:date>
    </item>
  </channel>
</rss>

