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 / 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
    154,494 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard