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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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