Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
admin11
Memorable Member
Memorable Member

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Power BI Header Change

Power BI Header Update

Read about the exciting updates for the Power BI forum.