Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Dynamic list with a multiselect combobox based on content in a gallery

(0) ShareShare
ReportReport
Posted on by

Let me explain. 

 

I will have a filtered gallery on the page.. It will have x number of rows based on other previous filtering being done.. each row will have one or more owners.. (The owner column is a "Person or Group" field that allows multiple selections). I would like to list out without duplicates and only single names only anyone that is available in each of the rows. 

 

In otherwords if the filtered gallery had the following, I would like the drop down to display 3 selections.. John, Brian and Steve (Ideally sorted)

 

Owners
John, Brian
Steve
Brian

 

Additionally will there be any issues since the dropdown will be controlling the number of rows that the gallery has but also then pulling from the gallery the list of owners??

  • Verified answer
    WarrenBelz Profile Picture
    WarrenBelz 145,495 on at
    Re: Dynamic list with a multiselect combobox based on content in a gallery

    Hi @jimi_hendrix ,

    Try this

    Sort(
     Distinct(
     Ungroup(
     SPListName,
     "Owner"
     ),
     DisplayName
     ),
     Value
    )

     

    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

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard