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.
Hi, I have a set of .csv files that look like this:
After cleaning in excel to make the grouping more obvious it looks like this for the first employee
Is there a way to transform this file to a simple list like this:
Hi @
Do you want to transpost the file in Power BI Desktop? If so, could you please upload the CSV file to OneDrive and post shared link of the CSV file in this forum so that I can test?
Thanks,
Lydia Zhang
Here is an example of the first 3 records. Hope it helps:
Staff Name : person1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Project Code,Project Description,Task Code,Task Description,01-Jan,02-Jan,03-Jan,04-Jan,05-Jan,06-Jan,07-Jan,08-Jan,09-Jan,10-Jan,11-Jan,12-Jan,13-Jan,14-Jan,15-Jan,16-Jan,17-Jan,18-Jan,19-Jan,20-Jan,21-Jan,22-Jan,23-Jan,24-Jan,25-Jan,26-Jan,27-Jan,28-Jan,29-Jan,30-Jan,31-Jan, 5164-Z845YL-30,project 1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ,,W,Work,0,1,0,0,1,1,1,1,1,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10 ,,DO,Day Off,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4 ,,,Sub Total,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14 ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Staff Name : person2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Project Code,Project Description,Task Code,Task Description,01-Jan,02-Jan,03-Jan,04-Jan,05-Jan,06-Jan,07-Jan,08-Jan,09-Jan,10-Jan,11-Jan,12-Jan,13-Jan,14-Jan,15-Jan,16-Jan,17-Jan,18-Jan,19-Jan,20-Jan,21-Jan,22-Jan,23-Jan,24-Jan,25-Jan,26-Jan,27-Jan,28-Jan,29-Jan,30-Jan,31-Jan, overhead,over head task,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ,,#Sick,Sick Leave,0,0,0,0,0,0,0,0,0,0.5,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.5 S290-Z800OP-30,operations department,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ,,W,Work,0,0,0,0,0,0,0,0,1,0.5,0,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,1,16.5 ,,DO,Day Off,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,3 ,,PH,Public Holiday,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,3 ,,,Sub Total,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,38 ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Staff Name : person3,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Project Code,Project Description,Task Code,Task Description,01-Jan,02-Jan,03-Jan,04-Jan,05-Jan,06-Jan,07-Jan,08-Jan,09-Jan,10-Jan,11-Jan,12-Jan,13-Jan,14-Jan,15-Jan,16-Jan,17-Jan,18-Jan,19-Jan,20-Jan,21-Jan,22-Jan,23-Jan,24-Jan,25-Jan,26-Jan,27-Jan,28-Jan,29-Jan,30-Jan,31-Jan, overhead,over head task,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ,,#Sick,Sick Leave,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1 ,,#Annual,Annual Leave,0,0,0.5,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.5 4951-Z845-30,some Site General,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ,,W,Work,0,0,0.5,1,1,1,0,0,1,1,1,0,1,0,0,1,1,1,1,1,0,0,1,1,1,0,1,0,0,0,1,17.5 ,,PH,Public Holiday,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2 ,,DO,Day Off,1,0,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,9 ,,,Sub Total,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,69 ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.