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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,181)