Delegation complex type

Brass Contributor

Hello.
I am trying to filter the data in the SharePoint list based on the "Person" type field.
Based on the specification it is possible if you use DisplayName or Email properties.

Freenit_0-1604499508424.png

Freenit_1-1604499597849.png
I need to receive data that is responding only to the user that is open PowerApps application.
I am trying to filter data with "Email" and "DisplayName" but the result is the same - delegation warning.

Filter('Materials Permissions',Person.DisplayName = Office365Users.MyProfileV2().displayName)
Filter('Materials Permissions',Person.Email = Office365Users.MyProfileV2().mail)

"Material Permissions" is my SharePoint list where data is saving.
"Person" is the column in the SPO list with the "Person" type.

Could someone advise how to solve this problem?

Thanks in advance.

 

0 Replies