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
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors