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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Need help with Power BI Conditional formatting for selected Rows

Hello Community,

 

Need help with Power BI Conditional formatting for selected Rows. I've added the Col A in the dataset for making the DAX easy. I've mentioned the sample datasets template and the final output snapshot. Any help much appreciated...

 

P&L sample datasetsP&L sample datasetsOutputOutput

 

 

User Cases


1.Depending on the Format column, like to change the data format to % which has PERCENT value under FORMAT (As shown in Excel output)

2.Depending on the Format column, like to make The entire row Bold which has Bold value under FORMAT (As shown in Excel output)

3.Depending on the Format column, like to make show dark line on top and bottom cell which has Double Bold value under FORMAT (As shown in Excel output)

 

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , As of not in Matrix Conditional formatting is not supported for columns in row/column (pivot).

 

You can do that in the table for all columns, but not in the matrix. Matrix only values you can color

 

You can create a color measure and use that in conditional formatting with field value option

 

Switch(true() ,

max(Table[Heading]) = "Normal", "Yellow" ,

//Add other

)

 

 

refer

PowerBI Abstract Thesis: How to do conditional formatting by measure and apply it on pie?: https://youtu.be/RqBb5eBf_I4

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.