Hi All,
Does anyone know (in power query) how to Pivot data where 2 fields would appear in the value area eg:
Columns would effectively be made up of Period and the 2 amount fields.
Source Data:
Account.Branch…….Location……….Period.............Amt1………........Amt2
12345...........A...........North...........Jan-19...........100..............150
12345...........A...........South...........Jan-19...........200..............250
12345...........B...........North...........Jan-19...........300..............350
12345...........B...........South...........Jan-19...........400..............450
12345...........A...........North...........Feb-19...........500..............550
12345...........A...........South...........Feb-19...........600..............650
12345...........B...........North...........Feb-19...........700..............750
12345...........B...........South...........Feb-19...........800..............850
Result.Data:
Account.Branch..Location….Jan-19-Amt1........Jan-19-Amt2….......…Feb-19-Amt1…........Feb-19-Amt2
12345…….A……….North .........100....................150.......................500…....................550
12345…….A……….South .........200....................250.......................600.......................650
12345…….B…….…North .........300....................350.......................700.......................750
12345…….B……….South .........400....................450.......................800.......................850
Does anyone know (in power query) how to Pivot data where 2 fields would appear in the value area eg:
Columns would effectively be made up of Period and the 2 amount fields.
Source Data:
Account.Branch…….Location……….Period.............Amt1………........Amt2
12345...........A...........North...........Jan-19...........100..............150
12345...........A...........South...........Jan-19...........200..............250
12345...........B...........North...........Jan-19...........300..............350
12345...........B...........South...........Jan-19...........400..............450
12345...........A...........North...........Feb-19...........500..............550
12345...........A...........South...........Feb-19...........600..............650
12345...........B...........North...........Feb-19...........700..............750
12345...........B...........South...........Feb-19...........800..............850
Result.Data:
Account.Branch..Location….Jan-19-Amt1........Jan-19-Amt2….......…Feb-19-Amt1…........Feb-19-Amt2
12345…….A……….North .........100....................150.......................500…....................550
12345…….A……….South .........200....................250.......................600.......................650
12345…….B…….…North .........300....................350.......................700.......................750
12345…….B……….South .........400....................450.......................800.......................850