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 / Defaultselecteditems n...
Power Apps
Answered

Defaultselecteditems not getting updated into the table

(0) ShareShare
ReportReport
Posted on by 28

Hi everyone,
--->I Have two tables - A and B

--->I use values from table B while filling a form and saving it in A.... i have a combobox with which i select the values and update the datacard using concat function separating with "-".
---> while trying to edit the same form in edit screen.... i have put a combobox and its defaultselecteditems property was set to [Parent.Default]....and successfully it is displaying all the items that were selected earlier and were saved....and i am also able to add new items to it.
---> my update function for the datacard in edit form again has concat(combobox.selectedItems,'Column_name' &"-")....

the problem is....after i submit the form , the values that were there earlier are not getting saved....only the recent addtitions are added to the table and earlier values are getting lost.

Categories:
  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @sai2001,

     

    Can you please confirm the column type of the column in table A you are trying to save to? 

     

    Since you mention Concat, I assume it is a text type. In that case the DefaultSelectedItems property will not work as it should return records.

  • sai2001 Profile Picture
    28 on at

    Hi @BCBuizer 
    The column in table A is of type Text...
    let me know any more details you would want to know....thanks in advance

  • Verified answer
    BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @sai2001 ,

     

    Thanks for the confirmation. 

     

    As mentioned, the items in the ComboBox are records and you are using text which is not compatible. You need to use a little code to reference them correctly which will look something like this for the DefaultSelectedItems property:

     

    Filter(DataSource, Column_Name in Split(Parent.Default, "-"))

     

  • sai2001 Profile Picture
    28 on at

    Hi @BCBuizer 

    It is working perfectly now....
    Thank you so much for the Help....

  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @sai2001 ,

     

    can you please share an example of what isn't working? Also, since this formula isn't delegable, how many items do you have in your data source?

  • sai2001 Profile Picture
    28 on at

    .

  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @sai2001 ,

     

    Can you please share the code you are using?

     

    As you can see in my tests, this is working just fine:

     

    BCBuizer_0-1664268898094.png

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard