web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to filter items wh...
Power Apps
Answered

How to filter items which including user().email address from approvallog?

(0) ShareShare
ReportReport
Posted on by 201

Dear all:

I am a starter for power apps with sharepoint.

I have a question about Filter function.

I recording approver's email address into approvallog, now i would like to filter items from approvallog which including user().Email.

But i don't know how to do for it.

Would you please help me out?

Jackywei_BDF_0-1653980640744.png

Thanks a lot:)

 

 

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,779 Most Valuable Professional on at

    Hi @Jackywei_BDF ,

    If ApprovalLog is a Person field, you need this

    Filter(
     YourSPList,
     ApprovalLog.Email = User().Email
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

  • Jackywei_BDF Profile Picture
    201 on at

    @WarrenBelz :

     

    Approvallog is Text column in sharepoint list, it is including approver's comments & Email address & approve time. it is totally text.

    Such as below screenshots

    Jackywei_BDF_0-1653982698938.png

    How to Filter Email address from it and   = user().Email?

     

    Thank you very much!

  • WarrenBelz Profile Picture
    155,779 Most Valuable Professional on at

    @Jackywei_BDF ,

    It is helpful to include all the information in your first post - note this is not Delegable and assumes that the email address will always be the second item with the first space before it.

    Filter(
     AddColumns( 
     YourSPList,
     "Log",
     Last(
     FirstN(
     Split(
     ApprovalLog,
     " "
     ),
     2
     )
     ).Result
     ),
     Log = User().Email
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • Verified answer
    Jackywei_BDF Profile Picture
    201 on at

    @WarrenBelz :

    Thanks for your reply.

    I have settle this issue by following function.

    Filter(list, User().Email in Approvallog)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard