PowerApps – 500 Record Limit, Filter SharePoint Person/Group Column with no Delegation WarningOn 2 minutes
If you have not read the series introduction, I will highly recommend that you do. It discussed the three factors that causes delegation warnings.
In this post, I will explain how to delegate the filter function to SharePoint on the Person/Group column.
Note: What I will discuss here applies to the PowerApps
LookUp function as well.
The Person/Group column is of the complex type. Delegation of complex types in SharePoint is done by deferring the decision for delegation to the subfield involved. For Person/Group column, the Email and DisplayName are the only delegable subfields in this data type.
Within the Filter functions, the only delegable operator supported for the delgable subfields is
=. This is because, these subfields are
Text type, which has the
= operator as the only delegable operator.
Expressions in the filter functions can be joined with
Or, and they will be delegable to SharePoint.
If you want to compare the subfields, do so using constant values that are the same across all records, such as control properties and global and context variables.
With all this information, let’s look at some examples.
===== Useful Information =====
- MyList: SharePoint List
|Filter(MyList,Author.Email = User().Email)|
|Filter(MyList,Author.Email = UserEmail)|
|Filter(MyList,Author.Email = “firstname.lastname@example.org”)|
|Filter(MyList,Author.Email <> UserEmail)|
|Filter(MyList,Author.Email <> “email@example.com” )|
Other posts in this series
- PowerApps – 500 Record Limit, How to Overcome Delegation Warning
- PowerApps – 500 Record Limit, Filter SharePoint Person/Group Column with no Delegation Warning
- PowerApps – 500 Record Limit, Filter SharePoint LookUp Column with no Delegation Warning