Forum Discussion

rock_cloud's avatar
rock_cloud
Frequent Visitor
2 years ago
Solved

Structuring Pre-aggregated Data

Hi,   I'm wondering whether anyone can help me as I'm quite stuck.   I don't have direct access to my data source for use in Power BI, so my data is pre-aggregated before I import it. My data con...
  • Anonymous's avatar
    Anonymous
    2 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