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
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.