Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
MichaelaMul
Helper III
Helper III

Conditionally Format to highlight a specific row in Matrix visual

Hi,

I was wondering if there way a way to highlight the following green row that highlights the total? Or if there is a way to move the Total to the Top, as it is currently (as a roll-up total). Currently it looks like I can have the total at the bottom, but it is just a duplicate of the top (as seen in the other photo). Is there a way to just see one of the row totals and it be highlighted?

MichaelaMul_0-1747150557783.png

MichaelaMul_1-1747150802369.png

 

Thank you!

Michaela

1 ACCEPTED SOLUTION
v-nmadadi-msft
Community Support
Community Support

Hi @MichaelaMul  ,
Thanks for reaching out to the Microsoft fabric community forum.

To highlight only the Braded products row in your matrix visual with a colored background in Power BI, follow these steps using conditional formatting:

Step 1:
Create a New Measure (for background color):

ResponseHighlightColor =

IF(SELECTEDVALUE('YourTable'[Billing Month]) = "Branded Products", "#FFD700", BLANK())



Replace 'YourTable' with the actual name of the table you're working with in your data model. The color code #FFD700 represents a gold shade, but you can substitute it with any hex color code of your choice to match your desired highlight color.



Step 2:
To apply conditional formatting, first select the matrix visual, then click the dropdown arrow next to the column you want to format such as the "Billing Month" column. From the menu, choose "Conditional formatting" and then "Background color." In the dialog that appears, set "Format by" to "Field value" and under "Based on field," select the ResponseHighlightColor measure you previously created. Finally, click "OK" to apply the formatting.


Here is an example of the above method for my sample data

vnmadadimsft_0-1747200410951.png

 



If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thank you

View solution in original post

4 REPLIES 4
v-nmadadi-msft
Community Support
Community Support

Hi @MichaelaMul 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the community members for the issue worked. If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Thanks 

v-nmadadi-msft
Community Support
Community Support

Hi @MichaelaMul 
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 our responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.


Thank you.

v-nmadadi-msft
Community Support
Community Support

Hi @MichaelaMul 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

 

v-nmadadi-msft
Community Support
Community Support

Hi @MichaelaMul  ,
Thanks for reaching out to the Microsoft fabric community forum.

To highlight only the Braded products row in your matrix visual with a colored background in Power BI, follow these steps using conditional formatting:

Step 1:
Create a New Measure (for background color):

ResponseHighlightColor =

IF(SELECTEDVALUE('YourTable'[Billing Month]) = "Branded Products", "#FFD700", BLANK())



Replace 'YourTable' with the actual name of the table you're working with in your data model. The color code #FFD700 represents a gold shade, but you can substitute it with any hex color code of your choice to match your desired highlight color.



Step 2:
To apply conditional formatting, first select the matrix visual, then click the dropdown arrow next to the column you want to format such as the "Billing Month" column. From the menu, choose "Conditional formatting" and then "Background color." In the dialog that appears, set "Format by" to "Field value" and under "Based on field," select the ResponseHighlightColor measure you previously created. Finally, click "OK" to apply the formatting.


Here is an example of the above method for my sample data

vnmadadimsft_0-1747200410951.png

 



If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thank you

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors