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
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 (19,851)