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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Convert comma separate...
Power Apps
Suggested Answer

Convert comma separated list to Combobox selection

(0) ShareShare
ReportReport
Posted on by 47
I have a SharePoint list where I save the state selected from a drop down to a text field.  Everything is working great.  I was asked to convert this to allow multiple selections of states.  I created a combo box and am successfully saving a comma separated list to the text field.  
 
 
I am struggling to get these values set as the default selected items of the combo box.  I have seen postings on how to do this.  This is one example.  http://powerappsguide.com/blog/post/set-combobox-data-source-to-comma-separated-string.  But I still do not have it correct.  Any assistance is appreciated.  
 
I start by collecting the states. 
 
 
In the Items property for the combo box I have the collection.
 
 
I save the returned record to varRecord. In the DefaulfSelectedItems I have the following, but as you can see I am getting errors.
 
 
In the DisplayFields I have Code base on the collection I created.
I have the same question (0)
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    Did you set the combox to allow multiple selection?
  • Suggested answer
    TMProgUser Profile Picture
    47 on at
    I figured out the issue.  I didn't need the RenameColumns.  Once I removed that portion and just did a Split, it worked. 

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard