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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

write a Measure to differentiate values in a row

Dear Community, 

I have a matrix with : 
(Radif and value are coming from Table1.
Column1,Column2,Column3 are coming from Table2)
soal.PNG

 

 

I want to show value of matrix based on a these conditions: 
If values in a row are different mark them in blue
If there exist just one value in a row mark it in black
If values in a row are same then mark them in gray



tempsnip.png

2 REPLIES 2
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Please check my latest reply in this post: Comparing values in a row.

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

If values in a row are different mark them in blue - compare the value against the average value for the row (by Radif)
If there exist just one value in a row mark it in black - compare the value against the sum of values for the row divided by number of columns
If values in a row are same then mark them in gray - all other scenarios, you can set this as the default value

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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