Forum Discussion

mariakos's avatar
mariakos
New Member
1 year ago
Solved

Data shaping

Hi,   I need some help shaping the data in the table below:   I have 2 issues as described below: Problem 1: Reordering Columns Label Definitions: Columns labeled 1, 2, and 3 correspond to ye...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi mariakos,

     

    Translate the data in power query, rename column 1,2,3 to year, country and topics first:

    Then split the country column with multiple values with delimiter:

    In my test, I used a comma as the delimiter, and you can choose a different delimiter if needed.

    Before:

    Later:

    Best regards,

    Joyce

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.