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 / Update property on a c...
Power Apps
Unanswered

Update property on a card with a combobox

(1) ShareShare
ReportReport
Posted on by 194
Hello,  i am trying to set up a cascading combo box selection so that the second combobox changes it's values based on the selection of the first.  My data is in dataverse and i have a table set up that defines the relationship between the first value and second value, in TMarkets.  The problem that i have is when i updated the Items property, i now get an error in the update property, "Name isn't valid, value isnt recognized" 
 
 
This is what i have under update: DataCardValue34.SelectedItems.Value
 
This is the current items for the second combo box:   Filter(TMarkets, LineOfBusiness in LOBSelect.SelectedItems
originally the items was: Choices('Geography (TMains)')

what do i need to change in the update property to save the data after an update is made?  
 
 
 
Categories:
I have the same question (2)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,307 Super User 2025 Season 2 on at
    Hi,
     
    You didn't actually share the code that is giving the error. Can you please do that
     
    I can tell you that there is a big difference between the two things you places in the Items property. In the first place you added records from TMarkets, after that changed it to a Collection of Choices, they are very different.
     
    Now, is your intent to update a Column that is a Choice or a lookup or a string or what?
     
    Updating a Lookup is different than updating a Choice (even if its multi-select choice), which I am not sure yours is.
     
  • Frac Profile Picture
    194 on at
    Hi FLMike,   here is the error.    When i change the selection in LOB Impacted my Geography box updates,  but i cant save the geography selection.  I've tried to make geography a choice field and a text field, and either way i cant get it to work.  
     
    I was following a video on cascading combo boxes and i think my items properties are correct, becasue they appear to be doing what i want them to,  but the video example was not a control inside a form data card,  and i think thats part of why i'm stuck here.
     
    at the end of the day i guess i dont really care what type of field i am saving into as long as i can save and edit it.
     
  • Verified answer
    timl Profile Picture
    36,383 Super User 2025 Season 2 on at
    Hi Frac,
     
    The crux of the problem is that the SelectedItems property returns a table (a combobox can have multiple selected records).
     
    From your description, it looks like you've currently set Geography to a text field. Therefore, if you reference the Selected property rather than SelectedItems, that should hopefully take you further.
     
    Note that you might need to change .Value to the field name if you've modified the Items property of the combo to call Filter.
    DataCardValue34.Selected.Value
     
     
     
  • Frac Profile Picture
    194 on at
    Hi @Timl, DataCardValue34.Selected.Value give me an error that copilot describes as "The expression was intended to retrieve the value of the selected item in DataCardValue34. However, the errors are that 'Selected' is not a valid property for DataCardValue34 and the '.' operator cannot be used on Error values."
  • timl Profile Picture
    36,383 Super User 2025 Season 2 on at
    Hi Frac
     
    Can you confirm the control type of DataCardValue34? Is it definitely a combobox, because Selected should certainly be a valid property of a combobox control?
     
    If you could find it in the designer and give a screenshot, that would help.
     
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,307 Super User 2025 Season 2 on at
    The issue you are facing in your Error is that .Value is not a property for SelectedItems, aka Multi-select. Selected is only good for a single select item. And the control you bind it too matters, thats why in my first post I was referring to where you are putting it. Since SelectedItems is multi, you want it for a combobox etc.
     
    So is the Combo a multi-select or a single?
     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard