<?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 format on matrix table in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3831374#M1237332</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="722680" data-lia-user-login="Cheng2202" class="lia-mention lia-mention-user"&gt;Cheng2202&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To achieve conditional formatting based on multiple conditions and comparison between two columns in a matrix table in Power BI, you can follow these steps:&lt;/P&gt;&lt;P&gt;1. **Create Conditional Formatting Measure**:&lt;BR /&gt;Create a measure that calculates the color based on your conditions. You can use DAX expressions to evaluate the conditions and return the appropriate color code. Here's an example measure:&lt;/P&gt;&lt;P&gt;```DAX&lt;BR /&gt;Conditional Format =&lt;BR /&gt;VAR Totalt = SELECTEDVALUE('YourTable'[Totalt])&lt;BR /&gt;VAR Budsjett = SELECTEDVALUE('YourTable'[Budsjett])&lt;BR /&gt;VAR PercentOfBudsjett = Totalt / Budsjett&lt;BR /&gt;RETURN&lt;BR /&gt;SWITCH(&lt;BR /&gt;TRUE(),&lt;BR /&gt;Totalt = 0, "Red",&lt;BR /&gt;AND(PercentOfBudsjett &amp;gt; 0, PercentOfBudsjett &amp;lt;= 0.1), "Yellow",&lt;BR /&gt;PercentOfBudsjett &amp;gt; 0.1, "Green",&lt;BR /&gt;BLANK()&lt;BR /&gt;)&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;Replace `'YourTable'`, `'Totalt'`, and `'Budsjett'` with your actual table name and column names.&lt;/P&gt;&lt;P&gt;2. **Apply Conditional Formatting**:&lt;BR /&gt;Go to the conditional formatting settings for the "Totalt" column in your matrix table. Choose "Icon Sets" as the formatting type. Then, use the measure you created above as the field to base the icons on.&lt;/P&gt;&lt;P&gt;3. **Configure Icon Rules**:&lt;BR /&gt;Set up three icon rules corresponding to your conditions:&lt;BR /&gt;- Red: Rule where the measure equals "Red".&lt;BR /&gt;- Yellow: Rule where the measure equals "Yellow".&lt;BR /&gt;- Green: Rule where the measure equals "Green".&lt;/P&gt;&lt;P&gt;4. **Ensure Icons Only on "Totalt"**:&lt;BR /&gt;Make sure the conditional formatting is applied only to the "Totalt" values and not the "Budsjett" values. You can adjust the conditional formatting settings to target only the "Totalt" column.&lt;/P&gt;&lt;P&gt;By following these steps, you should be able to apply conditional formatting with icons based on multiple conditions and comparison between two columns in your matrix table in Power BI. Adjust the measure and rules as needed to fit your specific requirements.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#993300"&gt;Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 15:46:05 GMT</pubDate>
    <dc:creator>johnbasha33</dc:creator>
    <dc:date>2024-04-11T15:46:05Z</dc:date>
    <item>
      <title>Conditional format on matrix table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3831086#M1237238</link>
      <description>&lt;P&gt;I want to make an icon conditional format on a matrix table but I have som issues. I can just make conditional format based on one column but I want it to compare with another one. I also just want the icons just on "Totalt" and not the sum of "Budsjett". I want the icons to come as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Red: When "Totalt" is 0. Yellow: When "Totalt" is between 0-10% of "Budsjett". Green: When "Totalt" is over 10% of "Budsjett" Is this possible? How?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Picture 1: The matrix table.&lt;/P&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Picture 2: How it is set up.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Picture 3: The measure on value ("Verdier").&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Apr 2024 13:34:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3831086#M1237238</guid>
      <dc:creator>Cheng2202</dc:creator>
      <dc:date>2024-04-11T13:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional format on matrix table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3831374#M1237332</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="722680" data-lia-user-login="Cheng2202" class="lia-mention lia-mention-user"&gt;Cheng2202&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To achieve conditional formatting based on multiple conditions and comparison between two columns in a matrix table in Power BI, you can follow these steps:&lt;/P&gt;&lt;P&gt;1. **Create Conditional Formatting Measure**:&lt;BR /&gt;Create a measure that calculates the color based on your conditions. You can use DAX expressions to evaluate the conditions and return the appropriate color code. Here's an example measure:&lt;/P&gt;&lt;P&gt;```DAX&lt;BR /&gt;Conditional Format =&lt;BR /&gt;VAR Totalt = SELECTEDVALUE('YourTable'[Totalt])&lt;BR /&gt;VAR Budsjett = SELECTEDVALUE('YourTable'[Budsjett])&lt;BR /&gt;VAR PercentOfBudsjett = Totalt / Budsjett&lt;BR /&gt;RETURN&lt;BR /&gt;SWITCH(&lt;BR /&gt;TRUE(),&lt;BR /&gt;Totalt = 0, "Red",&lt;BR /&gt;AND(PercentOfBudsjett &amp;gt; 0, PercentOfBudsjett &amp;lt;= 0.1), "Yellow",&lt;BR /&gt;PercentOfBudsjett &amp;gt; 0.1, "Green",&lt;BR /&gt;BLANK()&lt;BR /&gt;)&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;Replace `'YourTable'`, `'Totalt'`, and `'Budsjett'` with your actual table name and column names.&lt;/P&gt;&lt;P&gt;2. **Apply Conditional Formatting**:&lt;BR /&gt;Go to the conditional formatting settings for the "Totalt" column in your matrix table. Choose "Icon Sets" as the formatting type. Then, use the measure you created above as the field to base the icons on.&lt;/P&gt;&lt;P&gt;3. **Configure Icon Rules**:&lt;BR /&gt;Set up three icon rules corresponding to your conditions:&lt;BR /&gt;- Red: Rule where the measure equals "Red".&lt;BR /&gt;- Yellow: Rule where the measure equals "Yellow".&lt;BR /&gt;- Green: Rule where the measure equals "Green".&lt;/P&gt;&lt;P&gt;4. **Ensure Icons Only on "Totalt"**:&lt;BR /&gt;Make sure the conditional formatting is applied only to the "Totalt" values and not the "Budsjett" values. You can adjust the conditional formatting settings to target only the "Totalt" column.&lt;/P&gt;&lt;P&gt;By following these steps, you should be able to apply conditional formatting with icons based on multiple conditions and comparison between two columns in your matrix table in Power BI. Adjust the measure and rules as needed to fit your specific requirements.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#993300"&gt;Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 15:46:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3831374#M1237332</guid>
      <dc:creator>johnbasha33</dc:creator>
      <dc:date>2024-04-11T15:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional format on matrix table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3858088#M1243820</link>
      <description>&lt;P&gt;Your solution is great, &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="585150" data-lia-user-login="johnbasha33" class="lia-mention lia-mention-user"&gt;johnbasha33&lt;/a&gt;&amp;nbsp;. It worked like a charm!&lt;/P&gt;
&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="722680" data-lia-user-login="Cheng2202" class="lia-mention lia-mention-user"&gt;Cheng2202&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you already solved the current problem?&amp;nbsp;I tried the workaround of johnbasha33 using the following sample data and it worked&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I have the following table visual, and then I create one measure using the following DAX expression:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;icon color = 
SWITCH(TRUE(),
[Profit]*0.1&amp;gt;=[Input],"green",
[Profit]&amp;gt;0&amp;amp;&amp;amp;[Profit]*0.1&amp;lt;[Input],"yellow",
"red")&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Set the conditional formatting as follows:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Here are the results:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C02%7Cv-jianpengli%40microsoft.com%7Cd9552f18a0c94a7564f308dc188bf35e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638412236574903368%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=3jxUE%2BTNC8dS4DIhPphEB3NA%2BK94pwURGHu%2BXC4eezw%3D&amp;amp;reserved=0" target="_blank"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Jianpeng Li&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 06:54:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3858088#M1243820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-22T06:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional format on matrix table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3875437#M1247940</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="585150" data-lia-user-login="johnbasha33" class="lia-mention lia-mention-user"&gt;johnbasha33&lt;/a&gt;&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help and sorry for late reply! Had much to do lately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I encountered a problem with the measure.&amp;nbsp;&lt;SPAN&gt;On "SELECTEDVALUE('YourTable'[Totalt])" and "&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE('YourTable'[Budsjett])" I can't fill in as those numbers are from another measure and not in the table. The measure for..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;..Totalt is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;..Budsjett is:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any solution for this?&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 11:33:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3875437#M1247940</guid>
      <dc:creator>Cheng2202</dc:creator>
      <dc:date>2024-04-29T11:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional format on matrix table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3877191#M1248348</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="722680" data-lia-user-login="Cheng2202" class="lia-mention lia-mention-user"&gt;Cheng2202&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for your reply. If you're two measures, then your DAX expression looks like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;icon color = 
SWITCH(TRUE(),
[Totalt]&amp;gt;[Budsjett]*0.1,"green",
[Totalt]&amp;gt;0&amp;amp;&amp;amp;[Totalt]&amp;lt;=[Budsjett]*0.1,"yellow",
"red")&lt;/LI-CODE&gt;
&lt;P&gt;Then you need to put these three measures in the matrix table and conditionally format the icon color.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C02%7Cv-jianpengli%40microsoft.com%7Cd9552f18a0c94a7564f308dc188bf35e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638412236574903368%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=3jxUE%2BTNC8dS4DIhPphEB3NA%2BK94pwURGHu%2BXC4eezw%3D&amp;amp;reserved=0" target="_blank"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Jianpeng Li&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 00:43:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3877191#M1248348</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-30T00:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional format on matrix table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3878782#M1248742</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Is it possible to remove where it says yellow?&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&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>Thu, 02 May 2024 11:32:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3878782#M1248742</guid>
      <dc:creator>Cheng2202</dc:creator>
      <dc:date>2024-05-02T11:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional format on matrix table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3878802#M1248748</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="585150" data-lia-user-login="johnbasha33" class="lia-mention lia-mention-user"&gt;johnbasha33&lt;/a&gt;&amp;nbsp;Replied to wrong message &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help and sorry for late reply! Had much to do lately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I encountered a problem with the measure.&amp;nbsp;&lt;SPAN&gt;On "SELECTEDVALUE('YourTable'[Totalt])" and "&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE('YourTable'[Budsjett])" I can't fill in as those numbers are from another measure and not in the table. The measure for..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;..Totalt is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;..Budsjett is:&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;Do you have any solution for this?&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 11:33:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3878802#M1248748</guid>
      <dc:creator>Cheng2202</dc:creator>
      <dc:date>2024-05-02T11:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional format on matrix table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3878836#M1248757</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;And I also wondered how can I make it work on a matrix table and not a normal table as in your example:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a normal table I can't get the right lines after first column and fat text in the last column:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Are there any solution for that?&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 11:32:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3878836#M1248757</guid>
      <dc:creator>Cheng2202</dc:creator>
      <dc:date>2024-05-02T11:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional format on matrix table</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3888080#M1250758</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="722680" data-lia-user-login="Cheng2202" class="lia-mention lia-mention-user"&gt;Cheng2202&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your reply, you can remove the yellow from the totals row.&amp;nbsp;You need to use the ISINSCOPE or HASONEVALUE function to determine whether the current row is a total row.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/hasonevalue-function-dax" target="_blank"&gt;HASONEVALUE function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/isinscope-function-dax" target="_blank"&gt;ISINSCOPE function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Here's a reference for using them to remove totals:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Just change the DAX expression in the image to:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;icon color = IF(
    ISINSCOPE('Table'[Product]),
    SWITCH(TRUE(),
        [sales amount]&amp;gt;=300,"green",
        [sales amount]&amp;gt;=200,"yellow",
        "red"
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;Here's what it looks like:&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C02%7Cv-jianpengli%40microsoft.com%7Cd9552f18a0c94a7564f308dc188bf35e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638412236574903368%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=3jxUE%2BTNC8dS4DIhPphEB3NA%2BK94pwURGHu%2BXC4eezw%3D&amp;amp;reserved=0" target="_blank"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Jianpeng Li&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 06:59:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-format-on-matrix-table/m-p/3888080#M1250758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-03T06:59:14Z</dc:date>
    </item>
  </channel>
</rss>

