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

what is best practice for filtering one record when navigating between screens? first & filter give delegation warning

i have a one to one relationship between 2 tables, 1 is 'overview' table & 2nd serves as 'details' table.

 

i navigate from overview to details by passing ID. details is in edit mode. i filter details using first(filter(details, id=selectedid)).

 

i get a delegation warning. it works fine but is there a recommended way to do this?

 

shall i just ignore warning if it is not relevant? thanks!

1 REPLY 1
Super User II
Super User II

Hi @fess ,

Use the lookup function instead of First(Filter(....), something like this:

 

Lookup(details, id=selectedid)

 

You receive the delegation warning because the First function is not delegable to Sharepoint (strangely!). 

 

I hope i'm not worng, but I noticed that the delegation warning can be avoided also by using Last() function and sort Descending your filter results. 

 

Hope it helps !

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (8,002)