Notifications
Announcements
Hi experts!
I have a source with this items :
And I want to create a collection only with maximum values (red values) , I try with "AddColumns", but it gives me the max for every row...maybe using "group by"...but I don´t know how!
it should be like this:
Im just starting but my initial thoughts are to use the max of every record as a comparative to create a different collection that only shows the data like in your second picture. I figure you could use a button, on change event or anything of the sort to check and collect. again I'm still pretty new at this but that is how I might go around the problem you are having. Someone probably has a more efficient and clearer answer then myself.
HI @Kepcla,
Please create this collection as below:
DropColumns(AddColumns(GroupBy(colG,"Site","Type","SG"),"Max",Max(SG,To)),"SG")
I tried with GroupBy and AddColumns, but your solution @v-qiaqi-msft is more practical and fast.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268