<?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: Conditional Formatting Matrix Table By Rows in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-Matrix-Table-By-Rows/m-p/4656935#M178299</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="646487" data-lia-user-login="moses07_ferns" class="lia-mention lia-mention-user"&gt;moses07_ferns&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? If so, please mark it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Apr 2025 07:21:24 GMT</pubDate>
    <dc:creator>v-ssriganesh</dc:creator>
    <dc:date>2025-04-17T07:21:24Z</dc:date>
    <item>
      <title>Conditional Formatting Matrix Table By Rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-Matrix-Table-By-Rows/m-p/4649718#M177988</link>
      <description>&lt;P&gt;I want to apply conditional formatting row by row based on the value of the measures. For eg. I have three measures&amp;nbsp;&lt;BR /&gt;Measure 1 :-&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;Sales =&lt;/SPAN&gt; &lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sales_Data&lt;/SPAN&gt;&lt;SPAN&gt;[Total Revenue]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Prev Month Sales =&lt;/SPAN&gt; &lt;STRONG&gt;&lt;STRONG&gt;CALCULATE([Sales],DATEADD('DATE'[Date],-1,MONTH))&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Prev &lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;MONTHS SALE =&lt;/SPAN&gt; &lt;STRONG&gt;CALCULATE([Sales],DATEADD('DATE'[Date],-2,MONTH))&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The highest value in each row should be green and the lowest value should be red and the mid value should be yellow. Attached file for your reference.&amp;nbsp;&amp;nbsp;&lt;A title="Data Link" href="https://drive.google.com/file/d/1YbPJ-K6aamwt1rW1FAqGpnGde6IFd3WB/view?usp=drive_link" target="_self"&gt;https://drive.google.com/file/d/1YbPJ-K6aamwt1rW1FAqGpnGde6IFd3WB/view?usp=drive_link&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Apr 2025 14:09:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-Matrix-Table-By-Rows/m-p/4649718#M177988</guid>
      <dc:creator>moses07_ferns</dc:creator>
      <dc:date>2025-04-12T14:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting Matrix Table By Rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-Matrix-Table-By-Rows/m-p/4649754#M177989</link>
      <description>&lt;P&gt;Since you chose to use three measures you will now need to create three more, one for each color calculation. It would have been much easier to use a disconnected calendar table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You made the year and month slicer multi select. That will introduce additional ambiguity.&amp;nbsp; What should happen when the report user chooses 2020 and 2022, and Apr amd Jun ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe consider graphical solutions instead&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Apr 2025 15:52:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-Matrix-Table-By-Rows/m-p/4649754#M177989</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-04-12T15:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting Matrix Table By Rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-Matrix-Table-By-Rows/m-p/4650020#M177993</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure if I understood your question correctly, but I tried to create three measure that rank three different measures in the table visualization. And then, in the conditional formatting option, I tried to configure like below for all three measures.&lt;BR /&gt;Please check the below picture and the attached pbix file.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Apr 2025 06:25:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-Matrix-Table-By-Rows/m-p/4650020#M177993</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2025-04-13T06:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting Matrix Table By Rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-Matrix-Table-By-Rows/m-p/4650564#M178018</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="646487" data-lia-user-login="moses07_ferns" class="lia-mention lia-mention-user"&gt;moses07_ferns&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for posting your query in the Microsoft Fabric Community Forum, and thanks to&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;for sharing valuable insights.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please confirm if your query has been resolved by the provided solution? If so, please mark it as the solution. This will help other community members solve similar problems faster.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;SPAN data-teams="true"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 05:56:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-Matrix-Table-By-Rows/m-p/4650564#M178018</guid>
      <dc:creator>v-ssriganesh</dc:creator>
      <dc:date>2025-04-14T05:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting Matrix Table By Rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-Matrix-Table-By-Rows/m-p/4651274#M178038</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="646487" data-lia-user-login="moses07_ferns" class="lia-mention lia-mention-user"&gt;moses07_ferns&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can follow below approach for your solution as well..&lt;BR /&gt;1) One disconnected Measure Table&amp;nbsp;&lt;BR /&gt;2) One Complete Measure.&lt;BR /&gt;Below is the code&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ColorMatrix = 
VAR _HighestValue = 
MAXX(
 { [Sales],[Prev Month Sales],[Prev 2MONTHS SALE] },
 [Value]
)
VAR _lowestValue = 
MINX(
{[Sales],[Prev Month Sales],[Prev 2MONTHS SALE] },
[Value] )
VAR _MidValue = 
MAXX(
 FILTER(
    { [Sales],[Prev Month Sales],[Prev 2MONTHS SALE] },
 [Value] &amp;gt; _lowestValue &amp;amp;&amp;amp; [Value] &amp;lt; _HighestValue
 ),[Value]
)
VAR _result = 
IF(
[MeasureConection] = _HighestValue,
"Green" , IF( [MeasureConection] = _MidValue, "Yellow",
IF( [MeasureConection] = _lowestValue,"Red"
) ) )
RETURN
_result&lt;/LI-CODE&gt;
&lt;P&gt;Below is the screenshot&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;pbix file is attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;sanalytics&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 11:18:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-Matrix-Table-By-Rows/m-p/4651274#M178038</guid>
      <dc:creator>sanalytics</dc:creator>
      <dc:date>2025-04-14T11:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting Matrix Table By Rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-Matrix-Table-By-Rows/m-p/4656935#M178299</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="646487" data-lia-user-login="moses07_ferns" class="lia-mention lia-mention-user"&gt;moses07_ferns&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? If so, please mark it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 07:21:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-Matrix-Table-By-Rows/m-p/4656935#M178299</guid>
      <dc:creator>v-ssriganesh</dc:creator>
      <dc:date>2025-04-17T07:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting Matrix Table By Rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-Matrix-Table-By-Rows/m-p/4660051#M178441</link>
      <description>&lt;P&gt;&lt;SPAN data-teams="true"&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="646487" data-lia-user-login="moses07_ferns" class="lia-mention lia-mention-user"&gt;moses07_ferns&lt;/a&gt;,&lt;BR /&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Apr 2025 17:13:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-Matrix-Table-By-Rows/m-p/4660051#M178441</guid>
      <dc:creator>v-ssriganesh</dc:creator>
      <dc:date>2025-04-20T17:13:07Z</dc:date>
    </item>
  </channel>
</rss>

