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?
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
187 | |
52 | |
51 | |
36 | |
32 |
User | Count |
---|---|
282 | |
97 | |
89 | |
82 | |
77 |