Forum Discussion

giordani2000's avatar
giordani2000
Helper I
3 years ago
Solved

Data Transform: consolidating same value format

Hello team, Looking for help transforming the data in this file. It should be a simple excercise but I am missing a couple of steps. Appreciate you help. GR.
  • DOLEARY85's avatar
    3 years ago

    Hi,

     

    In power query:

     

    1. Duplicate the table twice so you have 3 copies.
    2. On each one select 3 of the columns for a catagory (Attribute, Ratio or Multiple) then unpivot them
    3. Delete the other categories on each that you haven't unpivoted on each table and rename the columns in attribute and value with an appropriate name and number e.g Category 1 & Value 1, Category 2 & Value 2 etc
    4. Return to you main table and use merge queries to combine the other 2 tables selecting Widgets, Qtr & Maturity Qtr as matching columns on both
    5. Expand the table and only bring through the Category and value columns 

    If I answered your question, please mark my post as solution, Appreciate your Kudos ๐Ÿ‘