Reply
dankello
Frequent Visitor
Partially syndicated - Outbound

Unable to show values in line chart

Hi, I am unable to show progress using values in a line chart from the following table which has student names in columns. The results are recorded on a weekly basis:

 

data1.PNG

I created a parameter and added this to a slicer so that individual students can be selected:

 

data2.PNG

 

I can see the data for the selected pupils in a visual table but when I then change it to a line chart it doesn't show any data:

 

data3.PNG

How do I show this data in the form of a line chart showing the progress of results over time?

 

Thank you 

 

2 REPLIES 2
PhilipTreacy
Super User
Super User

Syndicated - Outbound

Hi @dankello 

 

Download example PBIX file

 

Looks like you aren't using a Date Table, and are just using the in-built date/time functionality.

 

In your Line Chart, change the x-axis to only display the Date, not the whole hierarchy of Day/Month/Qtr/Year.

 

dtt.png

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Syndicated - Outbound

Hi @PhilipTreacy thank you for your example. This is exactly what i'm trying to achieve but i'm still not getting the data to show in a line chart. Because each student is recorded as a header for each column of results I created a parameter slicer (containing all students) to select the student data to be presented in the line chart. I changed the date format to date only and still didn't work. The data shows correctly in a table but doesn't feed into a line chart.

 

Parameter slicer with student names and table showing data:

 

pic1.PNG

 

Line chart and data for X and Y axis:

pic4.PNG

 

Parameter:

pic3.PNG

 

Is there a way get the values from the parameter output into the line chart?

 

Thank you

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)