Forum Discussion
jacob2102
Helper II
6 years agoHow 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.
| 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