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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.