The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi, I know how to conditional format a column, but how can one apply the background conditional formatting to one whole row. For instance, I would have this table:
Country | Sales | City |
UK | 105 | London |
France | 92 | Paris |
UK | 84 | Manchester |
I would want to make the UK rows blue and the French rows green for instance, almost conditional formating based upon values in the Country column, but I don't want to have to go into each column and do this, how can I do this immediately for a whole row? Thanks.
Solved! Go to Solution.
Hi there!
It is still not possible to apply conditional formatting to row, therefore you have to apply it to each column of the table. It might help you speed up the process creating a measure like this (color can also be a Hex Code):
Country Matrix Conditional Formatting =
SWITCH(
SELECTEDVALUE( YourTable[Country] ),
"France", "Green",
"UK", "Blue",
BLANK()
)
You can vote for the feature on going to this link:
https://ideas.powerbi.com/ideas/idea/?ideaid=229a6a2b-f26c-4afd-b1af-8cf3cbc9810f
Let me know if that helps!
Hi there!
It is still not possible to apply conditional formatting to row, therefore you have to apply it to each column of the table. It might help you speed up the process creating a measure like this (color can also be a Hex Code):
Country Matrix Conditional Formatting =
SWITCH(
SELECTEDVALUE( YourTable[Country] ),
"France", "Green",
"UK", "Blue",
BLANK()
)
You can vote for the feature on going to this link:
https://ideas.powerbi.com/ideas/idea/?ideaid=229a6a2b-f26c-4afd-b1af-8cf3cbc9810f
Let me know if that helps!
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |