cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Caroline
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
CWesener
Power Apps
Power Apps

Adding @GregLi to assist.

Thanks,
Clay.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (2,138)