cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Filter a sharepoint list current user in a powerapps gallery

Hello, im created a list in sharepoint  and I want you to recognize through the office account that person is inside the app and so just show the records that he does. for the moment I put that but it did not work well, I would appreciate it if you would pass me a different method or help me know what I do wrongCapture12.PNGsojif.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
v-monli-msft
Community Support
Community Support

Hi @Anonymous ,

 

The right formula should be:

Filter(pruebaDavid,AuthorEmail.Email=User().Email)

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Pstork1
Dual Super User III
Dual Super User III

Your problem is you are comparing DisplayName to Email.  Here's code that works

Filter('Conditional Flow','Modified By'.Email = User().Email)


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Anonymous
Not applicable

How would the code be if I have "person or group" columns?

Pstork1
Dual Super User III
Dual Super User III

Modified by is a Person or Group column.  Its just one that is added by the system.  the coding is the same just use the name of your column in place of modified by



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
v-monli-msft
Community Support
Community Support

Hi @Anonymous ,

 

The right formula should be:

Filter(pruebaDavid,AuthorEmail.Email=User().Email)

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

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

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (32,121)