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.
I suspect this may have to be done in powerquery
I currently have
a b
1 | x |
1 | y |
2 | x |
2 | z |
3 | z |
3 | w |
and would like to create a new table that looks like this
1 | 2 |
2 | 1 |
2 | 3 |
3 | 2 |
I would appreciate any assistance on this, thanks.
Solved! Go to Solution.
Hi @Anonymous ,
You can create a calculated column as below to get it, please find the details in the attachment.
Best Regards
@Anonymous , The value of 2 as 1 and 3 does not seem fine to me.
Group by in power query you can try