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 Apps - Building 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!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 714 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 419 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 243

Last 30 days Overall leaderboard