Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.