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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors