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 / Dataverse Patch Choice...
Power Apps
Unanswered

Dataverse Patch Choice Column to update record in Canvas Gallery not working

(0) ShareShare
ReportReport
Posted on by 50

Hello - I am running into issues updating a record in dataverse with the Patch function. 

 

I have a nested gallery with a value (Capacity Value) that needs to be updated when a user updates the selected record from the gallery and modifies the dropdown number 1 – 10.

 

Items: Choices([@CAPACITY_TRACKERS].'Capacity Value')

On Change: Set( varRecord, Patch( varRecord,  {'Capacity Value': Dropdown2_1.Selected.Value}   ))

Default: ThisItem.'Capacity Value'

 

I have tried setting the On Change to: Patch('CAPACITY DETAIL TRACKERS',ThisItem,{'Capacity Value':Dropdown2_1.Selected.Value})   but get an error message ‘Expecting OptionSetValue value, but from different schema’

I have the same question (0)
  • Verified answer
    AhmedSalih Profile Picture
    6,678 Moderator on at

    Hello, @todaytoo , what do you have in your Items property of your Dropdown2_1.Selected? If you have the following formula: Choices(ChoiceName) then, you should use Dropdown2_1.Selected instead of Dropdown2_1.Selected.Value

     

     

    If my reply helped you, please give a 👍 , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more.


    I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.


    Visit my Blog: www.powerplatformplace.com


     

     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard