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 / Patch to Choice Field
Power Apps
Unanswered

Patch to Choice Field

(0) ShareShare
ReportReport
Posted on by 8

hansid_0-1684507837240.png

 

Set(
VarExpense,
Patch(
'Expense Reports',
If(
VarExpenseMode = "New",
Defaults('Expense Reports'),
VarExpense
),
{
'Trip Destination': Txt_Destination_EditExpense.Text,
'Departure Date': Dte_Departure_EditExpense.SelectedDate,
'Arrival Date': Dte_Arrival_EditExpense.SelectedDate,
'Report Status': ['Report Status'.Draft], *********************
Traveler: LookUp(
Users,
'Primary Email' = VarUser.Email
)
}
)
)

 

I've starred (**********) the line with an error.

 

Any help would be appreciated!

Categories:
I have the same question (0)
  • Ash13 Profile Picture
    576 on at

    Hi @hansid 

    Try:

    'Report Status': {Value: "Draft"},
  • hansid Profile Picture
    8 on at

    I was able to fix it with 'Report Status': 'Choices Expense Report Status'.Draft 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard