Skip to main content
Andrew Nikolaev ๋‹˜์ด #Tableau Desktop & Web Authoring์— ์งˆ๋ฌธํ–ˆ์Šต๋‹ˆ๋‹ค

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:

Coloring dimensions based on conditionBut I'd like to get this one:

2Is there the way to colorize dimension (in this case Sub-Category) based on some condition?

๋‹ต๋ณ€ 3๊ฐœ
  1. 2022๋…„ 1์›” 21์ผ ์˜คํ›„ 3:11

    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.

     

    Hi @Andrew Nikolaevโ€‹ 

    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

0/9000