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

Patch Function not recognizing field

(0) ShareShare
ReportReport
Posted on by 967

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,272 Moderator on at

    @ctedesco3307 ,

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

  • ctedesco3307 Profile Picture
    967 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
    37,271 Super User 2026 Season 1 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
    967 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

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard