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 / Drop down populated wi...
Power Apps
Answered

Drop down populated with distinct SharePoint list items separated by commas

(0) ShareShare
ReportReport
Posted on by 224

Hi all, 

Hope I can articulate this right. 

1. I have a list "List" with a column named "A". 

2. In "A" column I have individual cells with multiple items separated by commas

3. I would like to connect a dropdown to "A" and return all distinct individual items in that column separated by commas. 

Example:

Column A
Row1: Bananas, Apples

Row2: Pears, Grapes
Row3: Grapes, Pears

Row4: Blueberries

 

PowerApp Dropdown would appear like this:
Bananas
Apples
Pears
Grapes
Blueberries

 

 

Please and thank you!

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @kgiles123 try below on the Items property of your Dropdown:

     

     

    Distinct(
     Split(
     Concat(
     'Your ComboBox'.SelectedItems,
     Value & ","
     ),
     ","
    ),
     Value
    )
    

     

     

  • Verified answer
    ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @kgiles123 : First concate all value from column A into string using this and store in variable lets say:

     

    Set(gblvar,Concat(List, A, "," ))

     

    Then create collection from this string using split function: 

     

    ClearCollect(ThisCollection,Split(gblvar, ","))

     

    Then on dropdown use below code: 

     

    Distinct(ThisCollection,Value)

     

    ------------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    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.

    Thanks,
    ANB

  • kgiles123 Profile Picture
    224 on at

    ANB, you are awesome! Thank you so much!

  • kgiles123 Profile Picture
    224 on at

    Hey ANB, last question, is it possible to reference the row ID based on my selection? 

  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    @kgiles123 : Didn't get it. Can you elaborate more please.

     

    Thanks,

    ANB

  • kgiles123 Profile Picture
    224 on at

    If I've selected "Grapes" in my dropdown I would like to return the SharePoint Row 2 and 3 IDs in another list if possible. 

  • Verified answer
    ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @kgiles123 , In that case, you need to use search function to first search where is grapes available in column A and once you get the results, then you need to collect the ID and return it to another list.

     

    Search(LIST,Dropdown1.Selected.Value,"A")

    Then use it further 

    ANB_0-1695760036431.png

    But this will give you the delegation warning.

     

    NOTE: TESTING11 is my list name

     

    ------------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    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.

    Thanks,
    ANB

     

     

  • kgiles123 Profile Picture
    224 on at

    Thank you again! You are awesome!

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

#2
11manish Profile Picture

11manish 193

#3
Valantis Profile Picture

Valantis 138

Last 30 days Overall leaderboard