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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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 @Anonymous - 

 

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

Anonymous
Not applicable

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors