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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
dankello
Frequent Visitor

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

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!


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

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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