Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi Everyone,
i got this code
Now when I apply it to the matrix the cells which are Blank() or (I transform the blank in "-") in these 3 Product rows don't change color.
Is there a way to bypass this issue, and all the row become colored?
Thanks
@Anonymous , 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
in fact, the values are blank or text "-", is there any way?
Hi, @Anonymous
Can you share sample data to further illustrate?
Best Regards,
Community Support Team _ Eason
This is the example file:
https://drive.google.com/file/d/1smjD5FpyRkCgw9m5b1C0tfO5KaC1XGls/view?usp=share_link
User | Count |
---|---|
84 | |
76 | |
74 | |
49 | |
39 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |