Forum Discussion
ebp2022
2 years agoFrequent Visitor
Transposing Schedules From Column to Rows
Hi, I've tried a couple of pivoting approaches but I can't seem to get the desired outcome. I would like to transpose the data from the left to the right using Power Query. Note that the columns ...
- 2 years ago
Click on ID, NAME in power query editor and right click --> unpivot other columns. so even though your other columns are dynamic it can pickup
let Source = your source , #"Unpivoted Other Columns" = Table.UnpivotOtherColumns(Source, {"ID", "Name"}, "Attribute", "Value"), #"Renamed Columns" = Table.RenameColumns(#"Unpivoted Other Columns",{{"Attribute", "Date"}, {"Value", "Schedule"}}) in #"Renamed Columns"
Nithinr
2 years agoResolver III
Click on ID, NAME in power query editor and right click --> unpivot other columns. so even though your other columns are dynamic it can pickup
let
Source = your source ,
#"Unpivoted Other Columns" = Table.UnpivotOtherColumns(Source, {"ID", "Name"}, "Attribute", "Value"),
#"Renamed Columns" = Table.RenameColumns(#"Unpivoted Other Columns",{{"Attribute", "Date"}, {"Value", "Schedule"}})
in
#"Renamed Columns"ebp2022
2 years agoFrequent Visitor
This worked, thank you!