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 / Unable to Patch CDS Lo...
Power Apps
Unanswered

Unable to Patch CDS Lookup field

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi I am struggling to Patch a lookup fields when I select a button. I have 2 tables Tests and Test Completed. 

On the create screen I have a some field one of which is called 'Test' (cr7d1_test), this fields lookups to the Test table where there are records stored. When I press save I want the Test Completed table to be update with the details populated on this screen but I cant get the patch correct.

 

AlvinH_0-1645363089112.png

 

 

Patch(

'Test Completed',

Defaults('Test Completed'),
{
Test:LookUp(
Choices('Test Completed'.Test),
Name = TestComboBox.Selected.cr7d1_name
);
}
)

Categories:

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard