cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MNAIR1
Regular Visitor

Conditional Formatting - Bullet Chart

Hi Everybody

I am using bullet chart visuals from OkViz and struck at the conditionally formatting side. Usecase, if the AVG days for reporting request is less than Target days then Default Green for the Actual Bar otherwise Red, currently conditional format is working but the color effect is applied on the whole bar. I need to get an color effect depending on target line.

 

This is a free visuals, so i understand the limitation, but like to know your thoughts if their is a possiblity or workaround to create condition based on the Target Lines or any other visuals which can helps to fit the requirements.

 

Many Thanks

pbic.JPG

 

1 ACCEPTED SOLUTION
Whitewater100
Super User
Super User

Hi:

Perhaps one workaround would be to create two measures. One Positive One Negative.

Reporting Days Positive = IF([Avg Reporting Days] < [Target Reporting Days], [Avg Reporting Days])
Reporting Days Negative = IF([Avg Reporting Days] > [Target Reporting Days], [Avg Reporting Days])
Then you can format those individual measures. See below. This shows late shipped orders by time in red and then the green represents the period of catching up. Still you can apply this to many things.
The area chart I have as example is:
Whitewater100_0-1650644788731.png

Here's the field population (I used different fields)

Whitewater100_1-1650644840129.png

 

View solution in original post

1 REPLY 1
Whitewater100
Super User
Super User

Hi:

Perhaps one workaround would be to create two measures. One Positive One Negative.

Reporting Days Positive = IF([Avg Reporting Days] < [Target Reporting Days], [Avg Reporting Days])
Reporting Days Negative = IF([Avg Reporting Days] > [Target Reporting Days], [Avg Reporting Days])
Then you can format those individual measures. See below. This shows late shipped orders by time in red and then the green represents the period of catching up. Still you can apply this to many things.
The area chart I have as example is:
Whitewater100_0-1650644788731.png

Here's the field population (I used different fields)

Whitewater100_1-1650644840129.png

 

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.

Top Solution Authors
Top Kudoed Authors