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 / DefaultSelected - Comb...
Power Apps
Answered

DefaultSelected - ComboBox not working

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I have a SharePoint list column "products". Its being updated by my powerapp using form > combox with the below formula:

Concat(ComboBox4.SelectedItems, Value, ", ")

It writes on the sharepoint okay with format product1, product2, product3

 

However, when I use the DefaultSelectedItems, its not showing the current data it has for products. I tried the below formula but its not working:

 

ForAll(Split(Parent.Default,", ",LookUp(colVisible,'Products'.Value))

 

colVisibile is the collection I use with all data.

 

Thanks!

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 


    What is the Items property of your combobox?  The records in the DefaultSelectedItems (DSI) property MUST match the schema of the Items property in order to match.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello,

     

    The combobox has the Item  = ["product1","product2","product3"]. Its just a static options I put in and data type appears to be table.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks! gave me the idea and used the below formula instead:

     

    RenameColumns(Split(Parent.Default, ","), "Result", "Value")

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    One additional habit to get into when splitting text for default selected items is to utilize the filter function to remove anything that is not valid.  The reason is, if there is a blank record in the DSI items, then the combobox will "look" like it has the items selected, but if you look closer at the actual dropdown list, you will see that they are not really selected...this is because the blank causes issues.

     

    So your formula would be:

    RenameColumns(
     Filter(
     Split(Parent.Default, ","),
     !IsBlank(Result)
     ), 
     "Result", "Value"
    )

     

    Glad you got it working!

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard