Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I've created conditional formatting for text and background colour in the past, super easy. I'm trying to set a standard for the colour that will be used for a specific set of people that are listed in a table. I want to use this for bar charts, etc. I tried using the conditional formatting, but I'm missing something.
I created the following:
This very nicely created a column that added the nubmer value into each entry for the CSR's. Then I went down several paths trying to create a measure to use for the conditional formatting. No dice. Here was my last try:
Solved! Go to Solution.
Hi @Anonymous
as you use a measure you need select an exactly value to compare. e.g
CSR_Colour =
SWITCH(MAX('Query1 - Cases'[CSR_Number]),
1, "EE9E64",
2, "95DABB",
3, "4A588A",
"000000"
)
After a bit more trial and error, I was able to figure out a way to use the names and not create addition columns to classify the names to a number. This method worked perfectly to let me use the visual conditional formatting to assign the colours properly by field value for any visual that has these values.
After a bit more trial and error, I was able to figure out a way to use the names and not create addition columns to classify the names to a number. This method worked perfectly to let me use the visual conditional formatting to assign the colours properly by field value for any visual that has these values.
Hi @Anonymous
as you use a measure you need select an exactly value to compare. e.g
CSR_Colour =
SWITCH(MAX('Query1 - Cases'[CSR_Number]),
1, "EE9E64",
2, "95DABB",
3, "4A588A",
"000000"
)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
96 | |
80 | |
67 | |
62 |
User | Count |
---|---|
137 | |
106 | |
104 | |
81 | |
63 |