cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
juanpeligroso
Frequent Visitor

Grouping Items from Collection In New Gallery

Can anybody help me with a small issue? I have an app that allows users to order products, though I want to aggregate the items at the end by Manufacturer & sum of the price of all the items selected from that manufacturer.

 

I'd like one screen to have a gallery that

 

a) Groups all items from MfrName together

b) sums the total MfrPrice

c) Sorts in alphabetical order for MfrName

 

End result should show a gallery with

 

Ashawa Bay, $199

Boen, $149

Reward, $347

 

grouping.PNG

1 REPLY 1
cherie
Power Apps
Power Apps

Hey,

 

Have you tried the groupby function? (https://powerapps.microsoft.com/en-us/tutorials/function-groupby/)

 

The example looks pretty close to what you want.

 

Thanks

Cherie

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,376)