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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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