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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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
User | Count |
---|---|
11 | |
9 | |
6 | |
5 | |
4 |