
Hello.
I've found how to color string of measures completely.
I'm attaching sample workbook where I want to colorize "Sub-Category" dimension, which "Profit" < 0.
I've created calculated field =
IF SUM([Profit]) < 0 THEN "RED" END
and set it as color mark. I got this result:
But I'd like to get this one:
Is there the way to colorize dimension (in this case Sub-Category) based on some condition?
3 réponses
Hi @Andrew Nikolaev
"Zdrast Vuit Ye" 😊 ! Hope all is well on your side and here is a simple
solution to your problem using the placeholders used for formatting
dimensions.
I have attached the twbx file below. Let me know if you have any
questions. Hope this was helpful and correctly answered your question.
Take care, Best wishes and "Da Svidanya" !
Sincerely,
Soumitra