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

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
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

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

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Solution Authors
Top Kudoed Authors
Users online (91,978)