Forum Discussion

rahkim's avatar
rahkim
Helper I
2 years ago
Solved

Transform data with multiple column headers and row headers

Greetings,   I have an excel sheet as my data source and the owner of this sheet arranged the data so that it has multiple column headers and a couple of row headers.  As a bonus, they made they ma...
  • HotChilli's avatar
    2 years ago

    The top row will add a suffix to each date field automatically (.1,.2)  if you use them as column headers so you can use that to your advantage.

    Filter out the 2nd and 3rd rows above (Mon, Tues    1st, 2nd)

    Then perform a Fill Down on Location (you'll need to get null values in the column to make that work).

    Now do the Unpivot on all columns except the first 2.

    There will be a few steps more but you can get help by searching the forum for Unpivot multiple columns.