Forum Discussion

Ivancito111's avatar
Ivancito111
Resolver I
4 years ago
Solved

Graph colors

Hello, hoping you are well, I have a query to ask you. To contextualize them I can tell you that this data are problems that occur in the processes that the company has and this is where they are "s...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Ivancito111 

    I created a sample with the data you provided .

    (1)If you want use color to display the State , you need create a column to define the color of State .

    Color = SWITCH(TRUE(),'Table'[State]="open","green",'Table'[State]="tracking","orange")

    (2)Put the calculated column in table visual , you can see the result .

    (3)Then apply the calculated column in Clustered bar chart .Choose the Default color in visual format settings , select Field value in Format style ,Color in What field should we based this on .

    The fianl result is as shown :

    I have attached my pbix file ,you can refer to it .

     

    Best Regard

    Community Support Team _ Ailsa Tao