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 / Combo box pick not saving
Power Apps
Answered

Combo box pick not saving

(0) ShareShare
ReportReport
Posted on by 16

I have a form that has a combo box where you would select a lot number which is filtered by a text box with a UPC number in it.  I can get it to populate correctly but when I pick a lot number and save, it reverts back to being blank and nothing updates in the sharepoint list the form is tied to.   

My filter for the combo box

 

Filter(
 lot_1,
 UPC = DataCardValue7.Text
 )

 

lot_1 is a spreadsheet with lot numbers and UPC codes.  

The update function on the datacard this resides in is 

 

DataCardValue9.SelectedItems

 

However it has an error saying expected text value.

 

Hoping to get some help with this issue.  

 

Categories:
I have the same question (0)
  • zuurg Profile Picture
    546 Super User 2024 Season 1 on at

    Is the SharePoint list's field that DataCardValue9 supposed to write to set for multiple choices, or just single selection?

  • Ironbird207 Profile Picture
    16 on at

    The sharepoint list is a text field and the combo box is set to only allow a single selection.

  • zuurg Profile Picture
    546 Super User 2024 Season 1 on at

    The reason it is expecting a text value is because that's what your SP List's type is.  If you're trying to pull in a single selection from the Combobox to write to a field type of text, try switching your Update for that DataCard to be DataCardValue9.Selected.Value

  • Ironbird207 Profile Picture
    16 on at

    I changed the update to DataCardValue9.Selected.Value and now it claims the Name isn't Valid. 'Value' isnt recognized.

  • zuurg Profile Picture
    546 Super User 2024 Season 1 on at

    After you press the . after "Selected", what fields does the intelltype thing tell you are available?  Yours might not be called Value.

    So: type DataCardValue9.Selected then hit the . and wait to see what is available.

  • Ironbird207 Profile Picture
    16 on at

    It populates my excel spreadsheet columns which are Lot No and UPC, Lot no's are what I want so I entered 

    DataCardValue9.Selected.'Lot No' 
    The error went away but still doesn't enter any data when saving the form, goes blank again and nothing writes to sharepoint.  
  • zuurg Profile Picture
    546 Super User 2024 Season 1 on at

    What is the DataCardValue9's Items property set to?

    What do you have the form's DataSource set to?  

  • Ironbird207 Profile Picture
    16 on at

    DatacardValue9 is the following code, lot_1 is a spreadsheet 

    Filter(
     lot_1,
     UPC = DataCardValue7.Text
     )

    The form's data source is set to "Customer Service Log" which is a sharepoint list.  

     

  • zuurg Profile Picture
    546 Super User 2024 Season 1 on at

    Hmmmm.   What happens if you try to change the update property for the combobox's data card to statis text like "Test"?

  • Ironbird207 Profile Picture
    16 on at

    Same result, sharepoint field doesn't update.  

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
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard