Forum Discussion
Anonymous
3 years agoNot applicable
Condition row matrix color
Hi Everyone, i got this code ColorRow = SWITCH(TRUE(), Str_CE[Voce]="Product1","#F1F1F1", Str_CE[Voce]="Product2","#F1F1F1", Str_CE[Voce]="Product3","#F1F1F1", ...
amitchandak
Super User
3 years agoAnonymous , Create a measure not column
ColorRow =
SWITCH(TRUE(),
Max(Str_CE[Voce])="Product1","#F1F1F1",
Max(Str_CE[Voce])="Product2","#F1F1F1",
Max(Str_CE[Voce])="Product3","#F1F1F1",
"WHITE"
)
It should work for 0. It will not work for blank
- Anonymous3 years agoNot applicable
in fact, the values are blank or text "-", is there any way?
- v-easonf-msft3 years ago
Community Support
Hi, Anonymous
Can you share sample data to further illustrate?
Best Regards,
Community Support Team _ Eason- Anonymous3 years agoNot applicable
This is the example file:
https://drive.google.com/file/d/1smjD5FpyRkCgw9m5b1C0tfO5KaC1XGls/view?usp=share_link