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 / Not Able to set Defaul...
Power Apps
Unanswered

Not Able to set Default value of custom combobox from sharepoint single line of text

(0) ShareShare
ReportReport
Posted on by 244

I have a solution where I am using a SharePoint list as the source for a combobox to lookup values in a form. The SharePoint lookup list has multiple columns, one being a department and another being an email address. When the user selects a specific department from the combobox, the email address associated with that department is added to an adjacent field and a notice gets sent to that email when the request is submitted. Initial submission works fine. 

 

The problem I am having is that when I try to set the default value of the combobox control to "Parent.Default", I get an error that it is expecting a table. I am not sure what to do in order to make this work. I tried enclosing Parent.Default in square brackets and in another instance tried enclosing ThisItem.'Division / Department' in square brackets. This gets rid of the error, but then the value doesn't always show up in the form after submission. 

 

How can I ensure that the value stored in the single line of text field from the combobox is displayed as the default when the form is opened after submission?

 

Thanks in advance for any help!

Categories:
I have the same question (0)
  • alecolli2 Profile Picture
    75 on at

    @CCJones 

     

    With ComboBoxes the "Default" value doesn't achieve the same goal as dropdowns and text boxes. You should use the "DefaultSelectedItems" property instead.

     

    Try with the "Parent.Default" in this property instead and see if this helps

     

    If this answered your question, please mark it as Solved

  • CCJones Profile Picture
    244 on at

    Sorry, I should have indicated that I was using DefaultSelectedItems and not just Default. The screenshot below shows that I get this error when using ThisItem.'Division / Department' and that I don't get the error when using [ThisItem.'Division / Department']. It's the same when using Parent.Default. 

    ComboBox_Default_Issue_02.png
    ComboBox_Default_Issue_01.png
  • alecolli2 Profile Picture
    75 on at

    No problem, I should have guessed as you have other comboboxes! 

     

    If you are doing a lookup that returns a result, try the below syntax and see if you have any luck - 

     

    {Result: ThisItem.'Division/Department'}

     

    Alternatively, if your ComboBox returns a "value", then try the below

     

    {Value: ThisItem.'Division/Department'}

     

    This has worked in forms I have used!

  • CCJones Profile Picture
    244 on at

    Neither of these options have worked for me. They just come up empty in the form even though there is a value in the column. I've found that since I don't need to display any of the additional values from the lookup list in the actual combobox, it's easier to just use a dropdown instead. That gives me no errors regarding "expected a table".

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard