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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
yodha
Helper IV
Helper IV

Matrix Rows Conditional formatting using DAX

Hi,

I have a Matrix report and in that i have to do conditional formatting for only highlighted rows, but no idea how to do it for only these rows. I am attaching sample report. Any help is much appreciated. Thanks in Advance.

Note: I have Un-pivoted Measure column, so when am using power BI existing conditioanl formatting option, color range is coming for all the Measrures but not for the only Highlighted row. Here Measures are in TEXT format when i am using SWITCH statement in DAX am getting datatype error.( For SWITCH i guess datatype should be NUMBER).

Capture.PNG

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @yodha ,

 

Is it possible to generate an extra measure similar to Measure2=IF([Measure]="Specific Text",1,0), then, set conditional formattings based on [Measure2] which return numeric values?

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.