web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to create a Collec...
Power Apps
Unanswered

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:
I have the same question (0)
  • Verified answer
    v-mengmli-msft Profile Picture
    on at
    Re: How to create a Collection from a Sharepoint Multi-Select column with Fill-In Values

    Hi @ImaKickUrAsh ,

     

    Please try this:

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

     

    Best regards,

    Rimmon Li

  • ImaKickUrAsh Profile Picture
    51 on at
    Re: How to create a Collection from a Sharepoint Multi-Select column with Fill-In Values

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard