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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
jimmyla
New Member

Continuous vs categorical x axis line chart over years?

Hi,

I have an issue showing a line chart for 52 weeks without scrolling. 

 

If I choose a categorical type the visual is to narrow:

jimmyla_1-1692938719332.png

 

And I've solved this by choosing a continuous type, which works fine if I only want to see one year:

jimmyla_2-1692938780452.png

But if I want to see the data over years I get a straight line between week 202352 and week 20241.

jimmyla_3-1692938919902.png

 

Is there any way to either use categorical without scrolling or use continuous but only show weeks with data?

 

Thanks in advance.

 

 

 

1 REPLY 1
Anonymous
Not applicable

HI @jimmyla,

The continuous’ type mode should be analyst by power bi itself and you can't do custom with this.

If you want to design the visualizations more agility, you can onside to use script-based visuals(R, Python) to manually plot these chart graphs.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.