Forum Discussion
mogugu_84
1 year agoHelper I
conditionally formatting by column
Hi i hope to create a conditionally formatting based on individual column of the matrix table below (preferrably gradient color scale), i.e. 3M within product P, not 3M across both Product P and Pr...
mogugu_84
1 year agoHelper I
Thank you, the example file you provide is helpful, but i still couldn't get it right...
Tried to replicate from your "Color" measure to mine as below, did i get it right? the aim is to compare to the total value of "3M G%" under Product P, i.e. if it's greater than 15.3%, color green, if below, orange, if negative, red
Color =
IF(
SELECTEDVALUE('Def market'[Molecule]) <> "Product P",
"No color",
IF(
[3M Growth] < 0.15 ,
"Red",
"Green"
)
)
Anonymous
1 year agoNot applicable
Hi mogugu_84 ,
You can try this code
Color =
IF(
SELECTEDVALUE('Def market'[Molecule]) <> "Product P",
"No color",
IF(
[3M G%] < 0 ,
"Red",
IF(
[3M G%] <= 0.153,
"Orange",
"Green"
)
)
)
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
- mogugu_841 year agoHelper I
thank you, anyway i can make this number dynamic, instead of put it as 15.3%?
- Anonymous1 year agoNot applicable
Hi mogugu_84 ,
Sure. You can replace it with measure which you want to compare.Best regards,
Albert HeIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly
- mogugu_841 year agoHelper I
I think i need to replace this yellow bit with a new measure that calculates 3M G% ignoring the row label...which is "Account" in this case....can you help with this formula? Thanks again!