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)



Learn Power BI - Full Course with Dec-2022, with new DAX functions like Window, Index, Offset !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Formatted Profit and Loss Statement with empty lines

@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



Learn Power BI - Full Course with Dec-2022, with new DAX functions like Window, Index, Offset !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Formatted Profit and Loss Statement with empty lines

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!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.