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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi,
I got few columns, [COLLABORATEURId], [CODE PROJETId],[DATE FIN],[FIELD4],[FIELD5] etc..
I grouped this table on [COLLABORATEURId] and [CODE PROJETId] with a condition on [DATE FIN] so as to supress duplicates records on [COLLABORATEURId] and [CODE PROJETId] =>
#"Grouped Rows"= Table.Group(#"InitialTable", {"COLLABORATEURId", "CODE PROJETId"}, {{"COLLABPROJET", each List.Max([DATE FIN])}})
Doing that I get only two columns [COLLABORATEURId] and [CODE PROJETId].
But after that, I don't succeed to get back all my columns [COLLABORATEURId], [CODE PROJETId],[DATE FIN],[FIELD4],[FIELD5] etc.. doing a Table.ExpandRecordColumn on #"Grouped Rows"
Can you help?
Solved! Go to Solution.
Hi
I Found by myself.
The solutions proposed with grouping and expanding rows can't suppress duplicates fields.
We have to
It works fine!
🙂
I'm sorry; I can do both as you Shown before but when I want after to expand the columns the duplicates fields [CODE PROJETId],[DATE FIN] are always there.
Hi
I Found by myself.
The solutions proposed with grouping and expanding rows can't suppress duplicates fields.
We have to
It works fine!
🙂
@PatrickByGecko you can add multiple aggregations for group and one can be all rows
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Thanks for your help but underneath if I chose "all Rows" I can't do on the same time my condition on "Max" [Date Fin] for suppressing the duplicates records as I said before.
How can I manage both, on the same time?
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 48 | |
| 35 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 134 | |
| 110 | |
| 59 | |
| 38 | |
| 32 |