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 Function - No er...
Power Apps
Unanswered

Patch Function - No error, but not working.

(0) ShareShare
ReportReport
Posted on by 60

Hello,

 

I'd like to ask if there is something wrong in my code in OnSelect property:

Patch(
'EWS Case Data',
LookUp(
'EWS Case Data',
EID = DataCardValue1.Text
),
{
'EWS Case Status': DataCardValue14.Selected.Value,
'Forecasted Date of Attrition': DataCardValue10.SelectedDate
}
);
SubmitForm(InterventionForm);


The idea here is to patch the data to EWS Case Data list wherein (DataCardValue10.SelectedDate, DataCardValue14.Selected.Value) is from a form that will be submitted SubmitForm(InterventionForm);

I just want to patch the data in the row in Case Data with the same Case Number (EID column). There's no error when I'm trying it, but it's not patching the data to the column of a specific row.

 

TIA

Categories:
  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @vanhuxley24 ,

     

    From a syntax perspective this looks correct, so can you explain a bit more on the context?

     

    What are the data types of the 'EWS Case Status' and 'Forecasted Date of Attrition' columns? Do you have issues with both columns or just 1 of them?

  • vanhuxley24 Profile Picture
    60 on at

    The data types for the columns should be Single Line only. I have issues on both, I'm starting to think that the value in lookup doesn't match that's why it doesn't patch but I'm not sure.

    What do you want to see?

  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @vanhuxley24 ,

     

    The issues could indeed be in there, because I don't see a reason any where else. You can try using Monitor to see what's happening when triggering this formula: https://learn.microsoft.com/en-us/power-apps/maker/monitor-canvasapps

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
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard