Forum Discussion

jenningobo's avatar
jenningobo
Frequent Visitor
1 year ago
Solved

Data transformation

Hello! I need help with data transformation. Here is an example of my data I need to understand how to reshape/transform it so that I can use it as a regular data table and create measures and visua...
  • shafiz_p's avatar
    1 year ago

    Hi jenningobo  You can reshapre your data using power query. I am attaching file here for your reference. Download and open power query to check steps. Steps are: First, filter out All the totals and only keep categories 1,2,3. Then select country/region, figure, unit column and unpivot other column. This way years will be in one column and value will be in other column. All the regions and country in one column. So, You can create 2 seperate query. One for country and other for region and create relationship between them.

    Reshape file 

     

    Hope this helps!!

    If this solve your problem, please accept it as a solution!!