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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
LaurenceSD
Advocate II
Advocate II

Line and bar chart y-axis mis-aligned

Hi,

 

I've got a line and bar chart showing enquiries per day and then a rolling 7 day average, but despite turning off the secondary axis, the line still appears to be using this "hidden" axis. On the example below you can see that for date shown the number of enquiries was 43 and the 7 day average was 40, but the line is higher up than the bar, when it should be below it. I found one idea which was to show secondary axis, then align 0s and then turn off secondary axis, but this hasn't resolved this issue. Any suggestions would be appreciated. Thanks

 

LaurenceSD_0-1614161214546.png

 

4 REPLIES 4
Anonymous
Not applicable

Hi @LaurenceSD ,

 

To my knowledge, the Show Secondary option is disable by default and based on my test,everything works fine. So I agree with @amitchandak ,it is a little strange...

2.26.3.disable.PNG

But If re-create visuals could not make sense, and the Desktop version has been the latest,

you could input Start and End of Y-axis by yourself and enable "Show Secondary" and "Align zeros" options like this:

2.26.3.enable.gif

 

Here is the pbix file.

 

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

thanks @Anonymous  that's what i ended up doing was fixing the axis and using zoom slider to assist as well. It does seem as thought something is up to my end, because on the bugs forum @amitchandak  directed me to my post on there also got a response that it worked fine for others, but thanks.

amitchandak
Super User
Super User

@LaurenceSD , Seems strange. Show secondary show move both of them on the same axis. Remove line; add once again and switch off secondary axis.

If did work try on a new visual, if your version is Feb 2021 and this does not work after these two steps, report an issue - https://community.powerbi.com/t5/Issues/idb-p/Issues

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak thanks for the suggestion, i've given that a go but no joy I've confirmed I'm on Feb 2021 and I've tested by putting them on the same axis in a clustered chart and it's working fine, but just the visual I want. Thanks for your help

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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