Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
NarendarYadav
New Member

lookup function in PowerApp has an error even when the datatypes are same

Hi,

I am trying to create an app using power apps. 
I have connected the desktop application and PowerApp to read the data from google sheets. The datatype are same for column called patient_no.

NarendarYadav_0-1670672394951.png

I tried to combine the data by converting but it didnt work.

1. LookUp(Sheet1, Patient_No = First(PowerBIIntegration.Data), Patient_No)

2. LookUp(Sheet1, Patient_No = First(PowerBIIntegration.Data), Int(Patient_No))

3. LookUp(Sheet1, Int(Patient_No) = First(PowerBIIntegration.Data), Int(Patient_No))

4. LookUp(Sheet1, Int(Patient_No) = First(PowerBIIntegration.Data), Patient_No)

but none seems to be working.

Incompatible types for comparision.

NarendarYadav_2-1670672946359.png

Can anyone help me here ?

1 ACCEPTED SOLUTION
Seanan
Solution Supplier
Solution Supplier

Hi @NarendarYadav 

 

As this is a power app related issue you may find more luck getting an answer on the power apps forums found here: Power Apps Forums 

View solution in original post

2 REPLIES 2
NarendarYadav
New Member

Thank you.

Seanan
Solution Supplier
Solution Supplier

Hi @NarendarYadav 

 

As this is a power app related issue you may find more luck getting an answer on the power apps forums found here: Power Apps Forums 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.