Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello. If I have a table with 10 columns and in each of these columns there are the numbers 1 to 6. If I now wanted to change the background color and the numbers to the colors you see in the picture. How to do it easiest?
Thanks
Solved! Go to Solution.
@Bergh , Create a measure like
Switch(Max(Table[Column]) , // or Sum(Table[Column])
1, "#FAFAFA" ,
// Add other condition
)
Use this measure in conditional formatting using the field value option.
If you need to do it for each column value, you need that many measures
How to do conditional formatting by measure and apply it to pie? : https://youtu.be/RqBb5eBf_I4
Hi @Bergh ,
You will need to set conditional formatting for each column.
You could manually set conditional formatting Rule to return different colors depend on the column values.
Or you could create a measure like amitchandak showed above and use it as conditional formatting Value.
Best Regards,
Jay
@Bergh , Create a measure like
Switch(Max(Table[Column]) , // or Sum(Table[Column])
1, "#FAFAFA" ,
// Add other condition
)
Use this measure in conditional formatting using the field value option.
If you need to do it for each column value, you need that many measures
How to do conditional formatting by measure and apply it to pie? : https://youtu.be/RqBb5eBf_I4
The way I know need to do measure by measure unless this visual is a matrix that contains only one measure
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 9 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 17 | |
| 12 |