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 / How to create a Collec...
Power Apps
Answered

How to create a Collection from a Sharepoint Multi-Select column with Fill-In Values

(0) ShareShare
ReportReport
Posted on by 51

Hello!

 

I have a Sharepoint List called Projects with a multi-select & fill-in enabled column named ProjectCategories

 

Sample Data:

IDTitleProjectCategories
1ProjectACat1,Cat2,Cat3
2ProjectBCat2,Cat3
3ProjectCCat1,Cat5

 

I'm trying to populate a combobox with all the previously used ProjectCategories values but no matter how I format the ClearCollect, I get syntax errors - mostly invalid argument type (table) expected text because the ProjectCategories column seems to be classed as a table at the record level. I even tried:

 

ClearCollect(
collProjectCategories,
Concatenate(Projects.ProjectCategories, ", ")
);

 

and tried to stick it in a ForAll but no luck.

 

Does anyone know how to get around this? I just need to create a collection that would result in the above data looking like: 

 

ProjectCategories
Cat1
Cat2
Cat3
Cat5

(I realize there will be a Distinct needed in here - but I'll worry about that once the Collection part is figured out!)

 

Any guidance would be great appreciated, thanks!

Categories:
  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @ImaKickUrAsh ,

     

    Please try this:

    ClearCollect(collProjectCategories,Distinct(Ungroup(Projects,"ProjectCategories").Value,Value))

     

    Best regards,

    Rimmon Li

  • ImaKickUrAsh Profile Picture
    51 on at

    you are a wizard 🙂 thank you @v-mengmli-msft this worked perfectly!

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 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard