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 Function not rec...
Power Apps
Unanswered

Patch Function not recognizing field

(0) ShareShare
ReportReport
Posted on by 690

Hey All;  I can’t figure out what is wrong with my Patch function

I have a screen with 2 simple controls

The drop down selects the values from the Title column that I renamed Project Key

ctedesco3307_0-1666365494578.png

 

 

The date picker is not associated with any column or list

 

I want the Close Project button to patch the date entered in the date picker to the ClosedDate column in the PS Contracts Totals list based on the project key selected in the dropdown.

Why can’t my Patch function recognize Title? (I renamed Title Project Key in the list which is why Project Key shows in the value field for the dropdown. That Project Key value is the Title column)

 

ctedesco3307_1-1666365494584.png

 

ctedesco3307_2-1666365494586.png

Thanks in advance

 

 

 

 

 

 

Categories:
I have the same question (0)
  • CU-18081211-6 Profile Picture
    9,270 Moderator on at

    @ctedesco3307 ,

    Title=drpPKey.Selected.Value (or the column you need from combobox selection)

  • ctedesco3307 Profile Picture
    690 on at

    @gabibalaban - thanks  - but thats not working either. It's a drop down not a combo box. I tried 

     

    Title=drpPKey.Selected

    Title=drpPKey.SelectedText

    Title=drpPKey.Selected.Value

    I get incompatible types for comparison: These types can't be compared: Text, Record 

     

  • Verified answer
    timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    @ctedesco3307 

    I'm pretty sure that @gabibalaban is correct.

    Just to clarify, it's the syntax of the condition inside LookUp that's incorrect. It should look like this:

    Patch( 
     'PS Contract Totals', 
     LookUp( 
     'PS Contract Totals', 
     Title=drpPKey.Selected.ProjectKey
     ),
     {ClosedDate: dtClose.SelectedDate}
    ) 

     

  • ctedesco3307 Profile Picture
    690 on at

    @timl -- that did it!!! thank you all!!!

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard