Hi @Lee123 ,
If your formula is perfect except for the delegation issue, you can keep the results of โFirst(Min.MinisterialAuthor).DisplayNameโ using a variable to resolve the delegation issue.
By default, First() function is not delegable in SharePoint, only below functions are delegable in SP:
As a result, you can use Set() function to create another variable:
Set(firstresult, First(Min.MinisterialAuthor).DisplayName)
Then change your formula like below:
Sort(
If(MyRecordsOnlyCheck.Value = true,
Filter(Ministerials As Min, currentUser =firstresult), Ministerials)
,'Due date', Descending)
Best Regards,
Allen
Hi Allen thanks for your post.
I don't think it's quite what I'm looking for though as First(Min.MinisterialAuthor).DisplayName produces the first entry in the multiple select people field in the data source, it's not a static value for the filter as it changes for each record.
Is there another function that is delegatable that might do the job?
I've tried LookUp which according to the posted graphic is delegatable but it still complains that it can't be delegated
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
275 | |
248 | |
86 | |
37 | |
33 |
User | Count |
---|---|
342 | |
244 | |
127 | |
73 | |
44 |