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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. 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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors