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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
RickU
Regular Visitor

Line chart year issue

I'm hoping someone can help me with this line chart. Since I added 2025 Data, the line is not continuous 

 

RickU_0-1738251317210.png

 

let me know if you can help.

 

1 ACCEPTED SOLUTION
MichaelSamiotis
Resolver I
Resolver I

Wow, this is really interesting now. I got confused at first looking at that as I though that this must have been a DAX issue, that you arechanging the data context through DAX. But then I realised that we can try the following:
1) Set the X-Axis to Continuous
2) Make sure your Date column data type is Date and not text. This step should be done before step #1.
3) If you are not using a distinct dim_date_table, I would create one and connect it to the fact table.

I hope this helps. 😊

 

All the best,

Michael

View solution in original post

2 REPLIES 2
MichaelSamiotis
Resolver I
Resolver I

Wow, this is really interesting now. I got confused at first looking at that as I though that this must have been a DAX issue, that you arechanging the data context through DAX. But then I realised that we can try the following:
1) Set the X-Axis to Continuous
2) Make sure your Date column data type is Date and not text. This step should be done before step #1.
3) If you are not using a distinct dim_date_table, I would create one and connect it to the fact table.

I hope this helps. 😊

 

All the best,

Michael

so the X Axis was set to continuous and I changed it to categorical and bingo... 

 

RickU_0-1738258778427.png

I did have the turn off the labels as they were a bit ugly, but I can use this. Thanks! 

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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