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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Help Representing Dates in a Line Graph

Hi all,

Thanks for help in advance I have spent the past hour trying to work what to do but would like your help. I am trying to represent the working status of employees and would like to present the data across the time with each function representing a line if that makes sense.  

 

I currently have a data set that looks like this:

NameFunction

19/09/2020

29/09/2020

Stefan Bloggs

Finance

WorkingReduced Hours
Flossy ChatHuman ResourcesReduced HoursWorking
Peter PanFinanceReduced HoursReduced Hours
Iron ManHuman ResourcesWorkingWorking

etc...

 

Do I need to transform any of the data so I am able to represent it in a line graph? I would like the line graph across the X axis to represent date, the Y axis to represent how many, and the line (different coloured lines for each group) to either represent the functional area (HR, Finance) or the status of the employee (reduced hours/working). How would you represent this?Your help is greatly appreciated.

 

 

 



1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Can you share sample output in table format

You need to unpivot this data first

https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , Can you share sample output in table format

You need to unpivot this data first

https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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