Forum Discussion
Anonymous
2 years agoNot applicable
Color coding Columns based on a field
Hello, I need to color code columns[QTD,YTD,Base Revenue& Total] for product as END POINTs and SAAS (same columns but deferentiated based on product). Below is what I am expecting. Need guida...
- Anonymous2 years ago
Hi Anonymous ,
You can apply the following formula to conditional formatting, see below:
M_ = SWITCH ( SELECTEDVALUE ( 'Table'[Product] ), "END POINTS", "Yellow", "SAAS", "green" )Best Regards,
Adamk KongIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
johnbasha33
Super User
2 years agoAnonymous
ProductCategory =
SWITCH(TRUE(),
'YourTableName'[Product] = "END POINTs", "END POINTs",
'YourTableName'[Product] = "SAAS", "SAAS",
BLANK()
)