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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!