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
michaela_95
New Member

Continuous x axis with missing data does not work on my Line Chart

I have a data with missing values. I want to display the points with the missing values but I want PowerBi Chart to ignore those and just keep drawing the line. 

 

This is where I am now: 

michaela_95_0-1693928971970.png

 

But I need to get to something like this without calculating some averadge value for 2019/20. 

michaela_95_1-1693929038113.png

 I thought of changing the x axis to categorical type but I don't have this option with my current data values. Is there anything I can do to get this sorted?

 

3 REPLIES 3
michaela_95
New Member

Is there now way to to keep text (categorical) values on the x axis? 

depends on what text you want.  Check this article: Creating a simpler and chart-friendly Date table in Power BI - SQLBI

 

Or use a custom visual.

lbendlin
Super User
Super User

Can't reproduce your issue when using numerical x axis values.

lbendlin_0-1694050375667.png

Can reproduce when using text.

lbendlin_1-1694050542047.png

 

That means your "continuous" axis isn't, it's already categorical.

 

Solution would be to drop the second year part and make the year numerical.

 

 

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