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

Horizontal bar charts showing deviation from 0?

Is there a custom visual / R script combo that allows for a configurable baseline e.g. 0 in a bar chart (horoizontal) and then show deviation either side of that point? All other axis hidden?

 

 

3 REPLIES 3
dedelman_clng
Community Champion
Community Champion

Hi @MANICX100

 

Do you mean something like this?

 

zero.png

 

As long as you create the measure you want to display as a value that will be either >0 or <0, this is a standard built-in bar chart. You should be able to configure the axes to your liking.

 

Hope this helps

David

That is exactly it kind Sir.

What was the measure used?

In my case it was the difference between this quarter's response percentage and last quarter's

 

Response % Q over Q =
IF (
    NOT ( ISBLANK ( [Response %] ) ),
    [Response %] - CALCULATE ( [Response %], PREVIOUSQUARTER ( DateTab[Date] ) )
)

But it can be anything that is "normalized" to 0.

 

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