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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Bobbys
Helper III
Helper III

Bar chart with relative change

Hello!

I'm trying to create a bar chart for this year vs last years sales and was wondering if there is any way to show the % change from last year's numbers to this year's numbers, without having to create individual text boxes? 
This is how my bar chart is currently looking: 

 

Bobbys_1-1635703984656.png

As you can see I've manually inserted text boxes in order to show the changes. This however is not very practical or aesthetically good looking. Does anyone know if there is a custom visual which can show this, or if there is a way I can make my own chart show the % change? None of the custom visuals I've tried have worked. 


Thanks in advance. 

7 REPLIES 7
Anonymous
Not applicable

Hi  @Bobbys ,

You can use Format-Shapes-to open the Shade area, and an area will be formed according to the data of the line chart for better display:

vyangliumsft_0-1635905190685.png

Result:

vyangliumsft_1-1635905190690.png

Does this match your expected result, if not, Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Fowmy
Super User
Super User

@Bobbys 

Check this custom visual: 

Hierarchical Bar Chart

 

Fowmy_0-1635706363814.png

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

It's not allowing me to compare with last years data. As the "Measure data" input can only hold one measure, while I have a measure for this year and a measure for last year.. 

Bobbys_1-1635709700883.png

 

AlexisOlson
Super User
Super User

One possibility is to use a line and bar combo chart where you put labels on the line and set it to the background color.

 

Here's an example:

AlexisOlson_0-1635706068023.png

I've used gray instead of the background white for purposes of demonstration.

 

It's certainly not a perfect solution but not terrible for a hacky workaround.

 

Thanks for the tip!! For some reason, my chart gets kind off messed up when attempting this. This is how it looks: 

Bobbys_0-1635706573360.png

 

However, when holdning my mouse on the line the percentage changes do have the correct values.

If I get this to work this might be a possible solution!

You might need to tinker with the secondary y-axis in the format pane or modify your measure to not output huge numbers like that.

Bobbys_0-1635709507456.png

Thanks, I managed to fix it. However, it's still not optimal as some of the data disappears under the title etc. Really strange why it should be so difficult to visualize a fairly simple chart. 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors