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 / Patch new items to a c...
Power Apps
Unanswered

Patch new items to a choice column set of options

(0) ShareShare
ReportReport
Posted on by 95

I have a choice column in dataverse for Teams. How can I update / add items, from a power app, to the possible set of choices?

 

2021-04-15_9-34-43.png

 

 

 

Patch('My Choice Column Options', Defaults(), {Value: "Choice 4"})

 

 


I'm trying to do something like the above, but I'm just getting red squiggle errors.

 

Is it not possible to update a set of choice other than manually editing it from the table? For this type of situation is the solution to create a new table and use a lookup column / relationship ?

I have the same question (0)
  • Verified answer
    ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @JohnMacDougall,

     

    The Choice options are part of the metadata (schema), so it's not possible to Patch in a new option without custom development and creating your own connector to start modifying metadata.

     

    The general rule of thumb is, if the set of options are going to be fairly static / don't change often, then a Choice is the way to go. If you need to add/remove items often, the list is large, you need to make options inactive/active, or store additional fields along with the option, then instead creating a new table for these options and adding a lookup to your other tables that need to use this is the better approach. This will allow you to then Patch in new records to that table using Power Apps.

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • JohnMacDougall Profile Picture
    95 on at

    @ChrisPiasecki  thanks for the explanation! I figured this might be the case, but thought I'd ask as I'm new to dataverse.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard