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 / Lookup function agains...
Power Apps
Unanswered

Lookup function against lookup column

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Capture.PNGHi Sir/Madam,

 

Would you please help me on this. Please refer to the picture.

I have 2 lists,  Record_ID column in List B is a lookup column which gets value from Title column in List A.

I have an app, via which I wanna update Date_column in List B where the Record_ID equal to certain value.

I wrote the formula in onselect of the button as below

Patch('List B',

          lookup('List B', Record_id=aaa),

         {Date_column: date_picker.selectedDate})

It gave error message, saying that "These types can't be compared: Record, Text."

Then I realised that lookup column is special, I changed 'Record_id=aaa' to 'Record_id.Value=aaa'.
The error was gone, but the app actually doesn't work.
Would you please advise.

Categories:
I have the same question (0)

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

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard