cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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?


@ 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!:
Mastering Power BI 2nd Edition

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?


@ 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!:
Mastering Power BI 2nd Edition

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors