Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
HI I have a csv file with the below layout and am trying to use power query to create a new set of columns so that it looks something like the second table, so i can then merge the two columns, I've tried transposing and pivoting but nothing seems to work! Any tips appreciated, thanks
MP at consulting room | 32.60% |
Attendance | 5.77% |
Attendance < 20mins | 100.96% |
Attendance > 20mins | 73.08% |
Attendance > 40mins | 41.35% |
MP at consulting room | MP at consulting room | 32.60% |
MP at consulting room | Attendance | 5.77% |
MP at consulting room | Attendance < 20mins | 100.96% |
MP at consulting room | Attendance > 20mins | 73.08% |
MP at consulting room | Attendance > 40mins | 41.35% |
sorry the table has changing rows, eg: so i need the new column to change as well
i tried to edit the post but couldnt work out how
.
MP at consulting room | 104 |
Attendance | 6 |
Attendance < 20mins | 105 |
Attendance > 20mins | 76 |
Attendance > 40mins | 43 |
MP not at consulting room | 0 |
Attendance | 0 |
Attendance < 20mins | 0 |
Attendance > 20mins | 0 |
Attendance > 40mins | 0 |
just add a column with content of "MP at consulting room" or?
ah sorry, i didnt make it at all clear that the 'MP at consulting ' then changes, will update now