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 / Distinct filter item
Power Apps
Answered

Distinct filter item

(0) ShareShare
ReportReport
Posted on by 219

Hi,

I am using SharePoint list with PowerApps with Parent Gallery and Child Gallery to show items as in the screenshot below. 

Items property of the ParentGallery is set to Distinct('Amazon Audit',Region)

Items property of the ChildGallery is set to Filter('Amazon Audit',Region=ThisItem.Result)

Output of my above logics are as in the screenshot. 

 

I would also like to avoid duplicates of Locker IDs. Please help me on how can I achieve this.

SumanthDundi7_0-1664188053227.png

 

Categories:
I have the same question (0)
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @SumanthDundi7 

    I suggest using GroupBy('Amazon Audit',"Region", "DATA") as the Items for the outer gallery.

    For the subgallery Items property: Sort(Distinct(ThisItem.DATA,LockerID),Result)

    and for the individual labels in the subgallery:

    • ThisItem.Result, (which would show the LockerID)
    • LookUp('Amazon Audit',Result=LockerID, Visits) and
    • LookUp('Amazon Audit',Result=LockerID, Market) 

     

    An alternative without using GroupBy() would be to set your subgallery items property to 

    Distinct(Filter('Amazon Audit',Region=ThisItem.Result),LockerID) and the individual labels would be the same as above.

  • Verified answer
    SumanthDundi7 Profile Picture
    219 on at

    Thank you so much @Drrickryp . 

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard