Reply
HopelessPBIuser
Frequent Visitor
Partially syndicated - Outbound

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

Syndicated - Outbound

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

Syndicated - Outbound

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

avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)