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 / Group Galleries After ...
Power Apps
Answered

Group Galleries After Filtering

(0) ShareShare
ReportReport
Posted on by 12

Hi All,

 

I am creating a dashboard to monitor all the items in my store:

dee_han_0-1713599089022.png

After I select the Brand in the dropdown list, the gallery below will show all the Items of the Brand selected, also with the quantity of the Items. I stored my database in SharepointList like this:

dee_han_1-1713599196521.png

I want the same Item to only appear once. But the gallery still displays Items in duplicate, because they have not been grouped.

I looking for your help. Thank you

 

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,570 Most Valuable Professional on at

    Hi @dee_han ,

    I am not sure what you are doing with Status - also replace xxxx with the output (Value/FieldName ) of your Brand drop-down.

    AddColumns(
     GroupBy(
     Filter(
     SPList,
     Brand = YourBrandDD.Selected.xxxx
     ),
     "Brand",
     "Item",
     "Grouped"
     ),
     "Quantity",
     First(Grouped).Qty
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • dee_han Profile Picture
    12 on at

    Hi @WarrenBelz,

     

    Now I have no idea about how to display the list of grouped items in the gallery:

    dee_han_0-1713768252212.png

    It comes with "false", I put the formula with "ThisItem.IsSelected"

    Ignore the number 0 in the image

     

    Thanks.

  • Verified answer
    WarrenBelz Profile Picture
    156,570 Most Valuable Professional on at

    @dee_han ,

    Your fields should be (with ThisItem. before) Brand, Item and Quantity

  • dee_han Profile Picture
    12 on at

    @WarrenBelz,

     

    It works! Thanks for your help 😊

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard