Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi,
I want to insert to my dashboard a new data source that contains information about hours dedicated for different employees to each taks. In the rows of the document we have the different task, and in columns the days of the year. This is an example.
TASK | 01/01/19 | 02/01/19 | 03/01/19 | 04/01/19 | 05/01/19 | 06/01/19 | 07/01/19 | 08/01/19 | 09/01/19 |
Task 1 | 1 | 2 | 4 | 2 | 3 | 1 | |||
Task 2 | 2 | 2 | 1 | 2 | 8 | 3 | |||
Task 3 | 1 | 3 | 1 | 2 | 1 | 3 | |||
Task 4 | 4 | 3 | 4 | 1 | 3 | 7 | |||
Task 5 | 2 | 1 | 2 | 1 | 2 |
This file contains approximately 50 task and all days of the year. This is only an example.
If I insert this data source, obtain each day like an independent parameter.
How can I transform automatically the structure of the spreadsheet? I would like to obtain a structure similar to this:
In this case, each employee has a spreadsheet with their hours worked, so I want to attach the information of this employee to this data source.
Best regards.
Thanks.
Jacob
Solved! Go to Solution.
@jacob2102 you should combine all files together and then unpivot the data and it will give you what you are looking for.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@jacob2102 you should combine all files together and then unpivot the data and it will give you what you are looking for.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Thanks so much @parry2k !
This solution is perfect to add this data source with the right structure.
User | Count |
---|---|
139 | |
113 | |
103 | |
73 | |
63 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |