Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello everyone,
I'd need help to merge many columns according to two other columns.
On my table, I have this:
| Num Transport | Traffic | Attribute 1 | Attribute 2 |
| 123 | Monday | Blue | null |
| 123 | Monday | null | Green |
| 123 | Tuesday | null | Yellow |
| 123 | Tuesday | Purple | null |
And I'd like to have this:
| Num Transport | Traffic | Attribute 1 | Attribute 2 |
| 123 | Monday | Blue | Green |
| 123 | Tuesday | Purple | Yellow |
Could you help me please ? Thank you !
Solved! Go to Solution.
If it's always 2 columns to merge:
In Power Query, select the first 2 columns. Choose 'Group By' from the ribbon.
You need 2 aggregations (First one using MIN on attribute1, second one using MIN on attribute2)
Thanks a lot it works!
If it's always 2 columns to merge:
In Power Query, select the first 2 columns. Choose 'Group By' from the ribbon.
You need 2 aggregations (First one using MIN on attribute1, second one using MIN on attribute2)
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!