cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fess
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
gabibalaban
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

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

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (36,917)