PowerApps – 500 Record Limit, Filter SharePoint Person/Group Column with no Delegation Warning
On 2 minutesIf 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 And
or 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 =====
- Set(UserEmail,User().Email)
- MyList: SharePoint List
Query | Delegable? |
Filter(MyList,Author.Email = User().Email) | |
Filter(MyList,Author.Email = UserEmail) | |
Filter(MyList,Author.Email = “name@example.com”) | |
Filter(MyList,Author.Email <> UserEmail) | |
Filter(MyList,Author.Email <> “name@example.com” ) |
References
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
Other posts you might be interested in
- PowerApps – 500 Record Limit, Filter SharePoint LookUp Column with no Delegation Warning
- Making Office 365 Work for you: Monitoring ATMs
- How to enable missing apps in Modern Communication SharePoint Site
- PowerApps Error – The specified column is generated by the server and can’t be specified
- Enable or Disable the Link to return to Classic SharePoint