Forum Discussion

jacob2102's avatar
jacob2102
Icon for Helper II rankHelper II
6 years ago
Solved

How to change the data structure?

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.

TASK01/01/1902/01/1903/01/1904/01/1905/01/1906/01/1907/01/1908/01/1909/01/19
Task 112 423  1
Task 22 212 83 
Task 313 121 3 
Task 443

4

1 3  7
Task 5  2121 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

 

 

2 Replies

  • jacob2102 you should combine all files together and then unpivot the data and it will give you what you are looking for.

     

     

    • jacob2102's avatar
      jacob2102
      Icon for Helper II rankHelper II

      Thanks so much parry2k !

      This solution is perfect to add this data source with the right structure.