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

Help with data for a line chart

Hi this is school related. I have attendance data that comes in weeks column by column.

example below. The first column is the student, the following columns are the weeks showing the percentage of attendance for that week.

 

studentweek 1week 2week 3
a995699
b998999
c9799100

 

I want a line graph or bar chart it to show week as the X and percentage as the Y. The year groups will be the legend showing the average attendance of each year group per week. I havew this data linked in off another table. 

I'm working in the idea i need to change the layout as follows

 

weekstudentattendance
1a99
1b98
1c78
2a98
2b90
2c89
3a100

 

I can't change how it comes out of the database/MIS. I need to change it in BI

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User
2 REPLIES 2

That was quick. I couldn't figure out what i was looking for. I didn't know you could pivot select columns. Something new learnt

amitchandak
Super User
Super User

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.