cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
admin11
Super User
Super User

PBI OKVIZ bullet chart how to make -ve Bar change to Red color ?

admin11_0-1613012468701.png

 

1 ACCEPTED SOLUTION
v-deddai1-msft
Community Support
Community Support

Hi @admin11 ,

 

There is no such option for the custom visual. I suggest you use clustered bar chart. You can create a measure like:

measure = IF([Your measure]<0,"Red","Blue")

Capture2.PNGCapture3.PNGCapture4.PNG

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

 

 

View solution in original post

6 REPLIES 6
v-deddai1-msft
Community Support
Community Support

Hi @admin11 ,

 

There is no such option for the custom visual. I suggest you use clustered bar chart. You can create a measure like:

measure = IF([Your measure]<0,"Red","Blue")

Capture2.PNGCapture3.PNGCapture4.PNG

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

 

 

@v-deddai1-msft 

WOW , i am surprise with your knowledge on PBI. Thank you very much.

amitchandak
Super User
Super User

@admin11 , I can only see a conditional formatting option for background and fond color, not for data color.

 

In Data color, you can change the color of each value(measure)

@amitchandak 

Thank you for sharing , Data colour only can set the color of the bar , it does not allow user to insert expression for dynamic control the colour,

Paul

@admin11 , I was checking that option. Do not saw one

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors