Forum Discussion
Structuring Pre-aggregated Data
- Anonymous2 years ago
Hi rock_cloud ,
According to your description, you can use the unpivot function in power query. The exact steps are:
1. Click Transform data to open the power query interface
2. Select the Department1 Department2 columns, right click and select the unpivot columns option.At this time there will be a total, department name and department id for the columns of the table
So you can filter by date, department name or total.
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi rock_cloud ,
According to your description, you can use the unpivot function in power query. The exact steps are:
1. Click Transform data to open the power query interface
2. Select the Department1 Department2 columns, right click and select the unpivot columns option.
At this time there will be a total, department name and department id for the columns of the table
So you can filter by date, department name or total.
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly