Forum Discussion
Background Color on Measure (Text Field)
- 6 years ago
You can reference your measure? Are you confused because I've named my measure 'Measure' and you already have a measure called 'Measure'?
Here, try this as measure. Then select this measure BGColor in the Conditional Formatting dialogue.
BGColor = VAR col = [Measure] RETURN IF(col = "3_red", "Red", IF(col = "0_green", "Green", IF(col = "2_yellow", "Yellow", IF(col = "1_blue", "Blue", "White"))))Kind regards
Djerro123
-------------------------------
If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.
Kudo's are welcome 🙂
You can reference your measure? Are you confused because I've named my measure 'Measure' and you already have a measure called 'Measure'?
Here, try this as measure. Then select this measure BGColor in the Conditional Formatting dialogue.
BGColor =
VAR col = [Measure]
RETURN
IF(col = "3_red", "Red",
IF(col = "0_green", "Green",
IF(col = "2_yellow", "Yellow",
IF(col = "1_blue", "Blue", "White"))))
Kind regards
Djerro123
-------------------------------
If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.
Kudo's are welcome 🙂
DJ I messed it up. I selected the column. THanks for help. That actually fixed my issue.