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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Issue with line chart visualization with x axis date

Trying to make a line chart with the x axis containing date. The date is data type 'Date' with a m/d/yy format. 

 

The intent to show score averages and trends over time. The score field goes into the 'Values' socket of the line chart. 

 

For some reason, I cannot get the line chart to consolidate the scores on the same dates correctly and group the scores by dates.

 

The line chart below is what I am getting 

 

2019-11-19 line chart - Power BI Desktop.png

3 REPLIES 3
Anonymous
Not applicable

After multiple hours of searching and tinkering, I figured it out. 

 

The 'Expand all down one level in the hierachy' option in the top right of the line chart visualization help with this. Your date field will likely have to be in hierarchy mode to accomplish this. 

v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

I am not sure what desired result would you want, could you please share your sample data and desired output screenshots for further analysis? You can also upload sample pbix to OneDrive and post the link here. Do mask sensitive data before uploading.

 

Please read this post to get your answer quickly: How to Get Your Question Answered Quickly.

 

Best Regards,

Amy

Anonymous
Not applicable

The desired result would be to have the averages of the scores shown per day, over time. 

 

With the x axis being the date and the y value being the scores, it will plot every score on the line chart rather than just the average. That is why the picture shows the line chart going vertical on days with multiple scores. 

 

It seems there should be a simple way to group the scores for each day and average them out. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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