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 / Coalesce lookup not wo...
Power Apps
Unanswered

Coalesce lookup not working

(0) ShareShare
ReportReport
Posted on by 318

Hi,

I am getting an error below showing that types can't be compared (Record, Number).

Back story: I am recording all bookings/reservations made by employees in a SharePoint list. I was able to successfully Patch and create items when a user books a desk. However, when they need to update those details, I am hitting the error below. I would really appreciate your help on this please!

 

genarich_1-1632933060511.png

 

 

With(
 {
 _record: Coalesce(
 LookUp(
 'Book a Desk',
 MasterFormID = varRecord.ID
 ),
 Defaults('Book a Desk')
 )
 },
 Patch(
 'Book a Desk',
 _record,
{
 Title: User().FullName,
 DeskName: RoomsGallery.Selected.Name,
 Date: StartDateTime,
 EndDate: EndDateTime}
))

 

 

 

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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard