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 / 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,687 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,687 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

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard