cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LaurenceSD
Helper II
Helper 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
Eyelyn9
Community Support
Community Support

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 @Eyelyn9  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 IV
Super User IV

@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



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

@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
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Kudoed Authors