Forum Discussion
Hierarchy based text conditional formatting
- Anonymous5 years ago
Hi prakash11440278 ,
Sorry to disturb you...
But did I answer your question ? Please mark my reply as solution. Thank you very much.Best Regards,
Stephen Tao
Hi prakash11440278 .
you need to create a measure similar to this one:
Formatting = SWITCH(
TRUE();
ISINSCOPE('Table (2)'[Mine]);"black";
ISINSCOPE('Table (2)'[Region]); "blue";
"Red"
)
Be aware that the order of the parameters is important for the final resutl
Hi MFelix mahoneypat amitchandak ,
Thanks for your reply.
I have replicated in my report it is working fine except the total part, which the font colors are not coming as expected.
- Anonymous5 years agoNot applicable
Hi prakash11440278 ,
Based on my test, you could set the colors of Grant total and Subtotals separately. In Subtotals, they can no longer be divided.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.