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 / Splitting concatenated...
Power Apps
Answered

Splitting concatenated string to set as Default selected items for a combobox

(0) ShareShare
ReportReport
Posted on by 184

Hi,

 

I have an app form which saves responses to a sharepoint list using the patch function. Each question response get’s it’s own line.

 

So the user can leave and come back, at the start of a new session it retrieves all the records for that persons session and saves them in a collection to which the Default property of the fields is set to the corresponding entry in the collection.

 

This is going well until I have come to our combo boxes where multiple selections are allowed. To save the values into SharePoint, the selected values are concatenated together separated by a “; “ so they have one line in the SharePoint list.

 

To do the prefill on return I want somehow split up these values again on the DefaultSelectedValues property however, I can’t work out how to do it.

 

Initially I had the function:

Split(LookUp(CollectAnswers, question_id = 216, answer),"; ")

But while it says this is a valid function it doesn’t produce any results. I’m now thinking I need to do some look up of these values with the original list feeding the combo box but can’t for the life of me figure out how.

 

Any help would be greatly appreciated

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    Hi @PipManifold ,

    This blog of mine should help you here.

     

    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.

    Visit my blog Practical Power Apps

  • DM-14081418-0 Profile Picture
    on at

    Where's the solution? 😂

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard