Forum Discussion

MacJasem's avatar
MacJasem
Icon for Advocate II rankAdvocate II
2 years ago
Solved

Pivot/Unpivot/Transpose? which one to get the expected table format

Hi All

 

I've got this tale:

 Jan/23Jan/23Jan/23Feb/23Feb/23Feb/23Mar/23Mar/23Mar/23
Account No.RealizedBudgetDifferenceRealizedBudgetDifferenceRealizedBudgetDifference
100100002000800010000200080001000020008000
200210004800162002300042001880025000560019400
300441001152032580483001008038220525001344039060
40092610276486496210143024192772381102503225677994


And i'd like to change it to the following format:

Account No.RealizedBudgetDifferenceDate
1001000020008000Jan/23
20021000480016200Jan/23
300441001152032580Jan/23
400926102764864962Jan/23
1001000020008000Feb/23
20023000420018800Feb/23
300483001008038220Feb/23
4001014302419277238Feb/23
1001000020008000Mar/23
20025000560019400Mar/23
300525001344039060Mar/23
4001102503225677994Mar/23


Any great tips and tricks to get this table format in PowerQuery nice and easy?

2 Replies