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 between two lis...
Power Apps
Answered

Lookup between two list in Dataverse in power apps

(0) ShareShare
ReportReport
Posted on by 286
Hi Team,
 getting error while lookup between two list in Dataverse
 
1st list Tracker has column as assigned_to its a choice column
2nd list shortcode the list contains a short code against name
 
LookUp(Short_Code,'Full Name' = assignedto.Selected.Value).'Short Code'
 
Error - 'Error when trying to retrieve data from the network: A binary operator with incompatible types was detected. Found operand types 'Edm.String' and 'Edm.Int32' for operator kind 'Equal'.'
 
 
thanks
Jawahar Prem
  • Verified answer
    vipuljain03 Profile Picture
    703 Super User 2026 Season 1 on at
    The error message you're encountering suggests that there's a type mismatch between the values being compared in your Lookup formula. Specifically, the formula is comparing a string to an integer, which is causing the issue.
     
    You can modify the formula as shown below:
    LookUp(Short_Code, 'Full Name' = Text(assignedto.Selected.Value)).'Short Code'
     
    Ensure Correct Data Types: Make sure that assignedto.Selected.Value is in text format.
     
    I have used the Text function to explicitly convert the selected value to a string if needed.
     
    Give this a try and let me know if it resolves the issue! If the problem persists, please provide more details about the data types and columns involved, and I'll be happy to assist further.
  • Jawaharprem Profile Picture
    286 on at
    Hi Vipuljani,
    Thanks for your time, the code works..
  • Ram Prakash Duraisamy Profile Picture
    5,891 Super User 2026 Season 1 on at
    Hi,
     
    May be you assignedto.Selected.Value is not a Text.
  • vipuljain03 Profile Picture
    703 Super User 2026 Season 1 on at
    @Jawaharprem Glad to know that the code/solution provided by me worked for you, Please click Accept as solution ✔️. This will help others find the solution to this problem. It also closes the item.
     
    If the content was useful in other ways, please consider giving it Thumbs Up. 👍

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard