web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Grouping and Displayin...
Power Apps
Unanswered

Grouping and Displaying Items in PowerApps Gallery

(0) ShareShare
ReportReport
Posted on by 15

Hello everyone,

 

I have a scenario in PowerApps that I could use some help with. I have a table in Dataverse containing items that can be allocated to boxes ( Pack 1, 2, 3, 4...), and the number of boxes is determined by a 'volume' value. For example, item A is placed in box 1 with 40 units, and it is also allocated to boxes 5, 6, 7, 8, and 9 (5 volumes), each containing 10 units. My goal is to display these items grouped according to their respective boxes, in numerical order, along with a description of the volumes, all within a gallery in PowerApps.

 

Here's a snapshot of my original data:

 

PACK                    DESC                                                    VOLUME          QUANT

1PRODUCT A110
1PRODUCT A110
1PRODUCT A15
1PRODUCT A110
1PRODUCT A15
1PRODUCT B15
2PRODUCT C310
2PRODUCT D32
2PRODUCT D32
2PRODUCT D310
2PRODUCT D31
1PRODUCT E18
3PRODUCT F51
3PRODUCT A510
3PRODUCT B58

 

Desired Result:

 

PACKDESCQUANT
1VOLUME 11
1.1PRODUCT A40
1.2PRODUCT B5
1.3PRODUCT E8
2VOLUME 2, 3, 43
2.1PRODUCT C10
2.2PRODUCT D23
3VOLUME 5, 6, 7, 8, 95
3.1PRODUCT F1
3.2PRODUCT A10
3.3PRODUCT B8

 

Any guidance or PowerApps formula suggestions to achieve this would be greatly appreciated. Thank you for your time and help!

Categories:
I have the same question (0)
  • PA_nerd Profile Picture
    63 on at

    I would use a nested gallery. 

     

    The first gallery would have the following properties:

      Items: GroupBy(YourDataSource,"Pack","DATA")

     

    And the second gallery, nested inside the first, would have:

      Items: Filter(YourDataSource,Pack=ThisItem.Pack)

      Visible:  ThisItem.IsSelected

     

     

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 462

#2
WarrenBelz Profile Picture

WarrenBelz 425 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 291

Last 30 days Overall leaderboard