<?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: Issue with Conditional Formatting in Matrix Visual in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Conditional-Formatting-in-Matrix-Visual/m-p/4697160#M179902</link>
    <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As we did not get a response, may I know if the above reply could clarify your issue, or could you please help confirm if we may help you with anything else?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And if the provided information meets your requirements, you can Accept the solution and also give Kudos on that reply. It helps other users who are searching for this same information and find the information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your understanding and patience will be appreciated.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 18 May 2025 10:50:05 GMT</pubDate>
    <dc:creator>v-sgandrathi</dc:creator>
    <dc:date>2025-05-18T10:50:05Z</dc:date>
    <item>
      <title>Issue with Conditional Formatting in Matrix Visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Conditional-Formatting-in-Matrix-Visual/m-p/4613036#M176547</link>
      <description>&lt;P&gt;Hi Team,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hope you're all doing well.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I was working on applying conditional formatting in the Matrix visual, where I have a column called "ppk" and I am applying the following criteria to achieve color coding using DAX.&lt;/P&gt;&lt;P&gt;Using this DAX (with averages included):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;U&gt;&lt;U&gt;DAX&lt;/U&gt;&lt;/U&gt;&lt;PRE&gt;PPK_Conditional_Color_heatmap = &lt;BR /&gt;VAR Ppk_Value = AVERAGE('PPK'[ppk_vl]) // No COALESCE applied&lt;BR /&gt;VAR StdDev_Value = AVERAGE('PPK'[stddev_vl]) // No COALESCE applied&lt;BR /&gt;RETURN&lt;BR /&gt;SWITCH(&lt;BR /&gt;TRUE(),&lt;BR /&gt;Ppk_Value = 0 &amp;amp;&amp;amp; StdDev_Value = 0, "#808080", // Grey for NULL Ppk &amp;amp; StdDev is Blank&lt;BR /&gt;Ppk_Value = 0 &amp;amp;&amp;amp; StdDev_Value = 0, "#ADD8E6", // Light Blue for NULL Ppk &amp;amp; StdDev = 0&lt;BR /&gt;Ppk_Value &amp;gt;= 1.33, "#69b764", // Green&lt;BR /&gt;Ppk_Value &amp;gt;= 1.00 &amp;amp;&amp;amp; Ppk_Value &amp;lt; 1.33, "#ffc156", // Yellow&lt;BR /&gt;Ppk_Value &amp;lt; 1.00, "#d82526" // Red&lt;BR /&gt;)&lt;/PRE&gt;&lt;P&gt;The criteria for coloring are as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Ppk &amp;gt;= 1.33 → Green&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;STRONG&gt;Ppk &amp;gt;= 1.00 &amp;amp;&amp;amp; Avg_Ppk &amp;lt; 1.33 → Yellow&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;Ppk &amp;lt; 1.00 → Red&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;PPK = NULL &amp;amp; StdDev_Vl = 0 → Light Blue&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;PPK = NULL &amp;amp; StdDev_Vl = Blank → Grey&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;P&gt;However, after applying the formula, the grey and light blue colors are not showing as expected. I believe the issue is that when the cell is empty, the conditional formatting is not triggering. This might be because blank values aren’t being accounted for correctly in the DAX expression.&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;&lt;P&gt;Has anyone encountered this issue, or do you have any suggestions on how to address it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking forward to your inputs.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Hk&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Mar 2025 14:33:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Conditional-Formatting-in-Matrix-Visual/m-p/4613036#M176547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-03-17T14:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Conditional Formatting in Matrix Visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Conditional-Formatting-in-Matrix-Visual/m-p/4613145#M176549</link>
      <description>&lt;P&gt;try&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PPK_Conditional_Color_heatmap = 
VAR Ppk_Value = AVERAGE('PPK'[ppk_vl]) // No COALESCE applied
VAR StdDev_Value = AVERAGE('PPK'[stddev_vl]) // No COALESCE applied
RETURN
SWITCH(
TRUE(),
ISBLANK(Ppk_Value) &amp;amp;&amp;amp; ISBLANK(StdDev_Value), "#808080", // Grey for NULL Ppk &amp;amp; StdDev is Blank
ISBLANK(Ppk_Value) &amp;amp;&amp;amp; StdDev_Value = 0, "#ADD8E6", // Light Blue for NULL Ppk &amp;amp; StdDev = 0
Ppk_Value &amp;gt;= 1.33, "#69b764", // Green
Ppk_Value &amp;gt;= 1.00 &amp;amp;&amp;amp; Ppk_Value &amp;lt; 1.33, "#ffc156", // Yellow
Ppk_Value &amp;lt; 1.00, "#d82526" // Red
)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 17 Mar 2025 15:27:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Conditional-Formatting-in-Matrix-Visual/m-p/4613145#M176549</guid>
      <dc:creator>Deku</dc:creator>
      <dc:date>2025-03-17T15:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Conditional Formatting in Matrix Visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Conditional-Formatting-in-Matrix-Visual/m-p/4613235#M176551</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1231947" data-lia-user-login="Deku" class="lia-mention lia-mention-user"&gt;Deku&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thanks for your response,&lt;BR /&gt;&lt;BR /&gt;I tried but still its coming as previous dax results.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there are any other solutions, please help me with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 16:14:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Conditional-Formatting-in-Matrix-Visual/m-p/4613235#M176551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-03-17T16:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Conditional Formatting in Matrix Visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Conditional-Formatting-in-Matrix-Visual/m-p/4614694#M176601</link>
      <description>&lt;P&gt;Could you please share a PBIX file with sample (non-confidential) data? This will help in understanding the issue better and providing a more accurate solution. You can remove or anonymize any sensitive information before sharing&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 12:42:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Conditional-Formatting-in-Matrix-Visual/m-p/4614694#M176601</guid>
      <dc:creator>Pow3Range</dc:creator>
      <dc:date>2025-03-18T12:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Conditional Formatting in Matrix Visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Conditional-Formatting-in-Matrix-Visual/m-p/4690357#M179622</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to check if you had the opportunity to follow up on previous conversation provided by community member. If yes can you please provide the sample data so that we can provide you with the accurate and correct solution.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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 so that other community members can find it easily.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 08:46:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Conditional-Formatting-in-Matrix-Visual/m-p/4690357#M179622</guid>
      <dc:creator>v-sgandrathi</dc:creator>
      <dc:date>2025-05-13T08:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Conditional Formatting in Matrix Visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Conditional-Formatting-in-Matrix-Visual/m-p/4697160#M179902</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As we did not get a response, may I know if the above reply could clarify your issue, or could you please help confirm if we may help you with anything else?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And if the provided information meets your requirements, you can Accept the solution and also give Kudos on that reply. It helps other users who are searching for this same information and find the information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your understanding and patience will be appreciated.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 May 2025 10:50:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-Conditional-Formatting-in-Matrix-Visual/m-p/4697160#M179902</guid>
      <dc:creator>v-sgandrathi</dc:creator>
      <dc:date>2025-05-18T10:50:05Z</dc:date>
    </item>
  </channel>
</rss>

