cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Resolver I
Resolver I

Returning Look Up values from CDS for Apps

I'm trying to filter a PowerApp gallery based on the lookup field matching a given text in the current record:

 

Filter(Notes, Notes.SWN_Lookup_Notes=SWNtextInput.text)

 

 

After trying several different syntax (the one above being the last one I've tried), it seems that it can't compare the two fields because the look up field in the entity is a Lookup Type, not Text.

This was confirmed when I added a label and set the Text function to ThisItem.SWN_Lookup_Notes. The error returned was "The property expects Text values, but this rule produces incompatible Record values".

How then, do we pull data from a Look Up column in the CDS for Apps into a PowerApp, and filter it?

 

1 REPLY 1
Power Apps
Power Apps

Adding @GregLi to assist.

Thanks,
Clay.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (59,089)