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 / cannt patch lookup column
Power Apps
Unanswered

cannt patch lookup column

(0) ShareShare
ReportReport
Posted on by 19

Hi there,

I have a lookup column and I want to add new data to a list if data does not exist.

I tried this code below to check if data already exists

 

 

 

 

 

If(IsBlank(LookUp('Votes-Details_2',Idea_ID = ThisItem.ID)),
Set(varLoad,true); 
Patch(
 'Votes-Details_2',
 {
 Ideas_Id: Gallery3_3.Selected.ID, Title:Gallery3_3.Selected.Title
 }
);
Set(varLoad,false);,false),false);

 

 

 

 

But I get an error at the first line of code:

incompatible types for comparison, These types cant be compared: Record, text

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,731 Most Valuable Professional on at

    @ashwagamz ,

    You have three posts on the same subject - I have responded to one here

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 291 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 282 Super User 2026 Season 1

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 195

Last 30 days Overall leaderboard