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
Hi,
I have two tables in Power Query Editor (Header and Details), i need to add a new column in header table thats connains the maximium asociated value in the Detail table.
Result that i want
How can i do this using Power Query ?
Thanks!
Solved! Go to Solution.
Hi @triby25 ,
You may consider using the following steps.
1. Duplicate the DETAILS TABLE.
2. For DETAILS TABLE(2), Group by [IDD].
3. Select HEADER TABLE and Merge Queries.
Select [ID] and [IDD]
4. Expand [MAX_VALUE]
Result.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi @triby25 ,
You may consider using the following steps.
1. Duplicate the DETAILS TABLE.
2. For DETAILS TABLE(2), Group by [IDD].
3. Select HEADER TABLE and Merge Queries.
Select [ID] and [IDD]
4. Expand [MAX_VALUE]
Result.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
You can duplicate the Details table and do a Group By on ID with Max of Value
then Merge that table with Header table
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!
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 7 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 15 | |
| 13 | |
| 12 | |
| 9 |