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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
brianmsbc
Frequent Visitor

Data points on a line chart do not connect when you have multiple values you wish to plot

I have two years of weekly data (so i get data once per week for the last two years) and its plotted by Date. I set up the line chart so that its year over year instead of year after year (left to right).

 

2018's data points were all connected but once 2019 began overlapping 2019, the data points are no longer connected. Instead of a line, they are just dots. 

 

After much research i havent found a way to keep the 2018 data points connected to each other and the 2019 data points connected to each other. It seems like because there are breaks in the data (because ites weekly and not daily), there is no way to keep them connected.

Has anyone else run into this issue and were you able to resolve it?

5 REPLIES 5
Greg_Deckler
Super User
Super User

Is your x-axis categorical or continuous? What if you use your Year as a Legend so that you get 2 separate lines?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Thank you. This solved my problem.

I have tried using Year in the legend field with a single value in the Values field... I have also tried using an empty legend field and two value fields (2018 and 2019). They both looked exactly the same when plotted (broken once they begin overlapping).

 

I remember at one point having the option on the X axis to pick Categorical or Continuous, but for some reason it is no longer showing up as an option (its not even greyed out, it just doesnt exist as an option). Does anyone know why that option would be removed from the X Axis list? (its not in the Y axis option list either)

Any way you can provide example/sample data to replicate?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

I created a sample data set and a sample powerBI project but im not sure how to upload it to the thread. Help?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.