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
Anonymous
Not applicable

How to stop the second y - axis from dropping and showing 0 if there is no data?

Hi,

I have a Line and Stacked bar chart. The user can select several years for specific cities, the line follows the years from column to column. However there is currently not data for all years for all cities, so in the case that there is not data, the line drops down to 0 from the previous year value. 

I would like to stop it from dropping down to 0 in case there is no data and stop at the previous year value. 

HopelessPBIuser_0-1736190535042.png

Any way to achieve this? 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Change your measure to properly return BLANK() if there is no data.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Change your measure to properly return BLANK() if there is no data.

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