Forum Discussion
yj1111
2 years agoHelper I
Unpivot table
Hello, I have a table which shows the financial info as below: year Actuals January Actuals Feburary .... Actuals December Forecast January ... Decemeber Budget January ... December ...
- 2 years ago
NewStep=Table.Pivot(Table.SplitColumn(Table.UnpivotOtherColumns(YourTableName,{"year"},"x","Value"),"x",each Text.Split(_," "),{"x","Month"}),{"Actual","Forecast","Budget"},"x","Value")
wdx223_Daniel
2 years agoCommunity Champion
NewStep=Table.Pivot(Table.SplitColumn(Table.UnpivotOtherColumns(YourTableName,{"year"},"x","Value"),"x",each Text.Split(_," "),{"x","Month"}),{"Actual","Forecast","Budget"},"x","Value")
yj1111
2 years agoHelper I
Thanks, it works!