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 / How to populate a comb...
Power Apps
Unanswered

How to populate a combobox value based on a text column?

(1) ShareShare
ReportReport
Posted on by 365

Hello,

 

I have an app with a SharePoint list column that is a single line of text and in Power Apps it was a textinput. Due to data entry inconsistencies, the textinput was covered with a combobox of predetermined values. The combobox values are a collection of a separate sharepoint list items. 

 

Within power apps, for submission, users now select the value from the combobox and the combobox populates the value into the textinput.

 

A new feature lets users come back and edit the values within a new powerapps screen. On opening the selected item, the textinput populates with the correct text data for ThisItem.column1 but the combobox understandably stays blank. 

 

How do I get that combobox to also populate with the submitted value for ThisItem until the user selects a new value which should update the combobox AND the textinput?

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @ngreen - seems highly overengineered to keep both a Text Input control and a ComboBox control in sync. Regardless, you can "force" a Value into the DefaultSelectedItems property of the ComboBox using:

     

    {
     Value: ThisItem.column1
    }
    

     

    Or alternatively populate the DefaultSelectedItems property with a Record:

     

    LookUp(
     'Your Collection',
     Column1 = ThisItem.Column1
    )
    

     

    Further reading on Records and Values:

     

    https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/working-with-tables

     

  • Thor_PPC Profile Picture
    365 on at

    It is over engineered, but I was worried about data loss to switch the column fully to a choice column. I will test your feedback tomorrow morning and get back to you on if it worked for me or not. Thank you!

  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @ngreen - you are not changing data types - you can continue to keep the Single Line Text field. You just do need to remove Text Input control and run everything from your ComboBox control.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard