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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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