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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filtering using Sharep...
Power Apps
Unanswered

Filtering using Sharepoint system column

(0) ShareShare
ReportReport
Posted on by 4

How do you filter using a SharePoint system column. I have a table I'm wanting to filter using the 'modified by' column in SharePoint. This way I don't need to have people in our organization enter their name. It's already obtained by the system. Thanks.

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @JPAguirre 
    You can filter by the email address (the most unique) for the Modified by.

    A formula such as this would give you what you need:

    Filter(yourDataSource, 'Modified By'.Email = someEmail)

     

    I hope this is helpful for you. 

  • JPAguirre Profile Picture
    4 on at

    Thank you so much. Unfortunately, when the employees are using their computers their name is being captured in the SharePoint. The SharePoint does not capture their email address.

    The formula I'm using is:

     

    Filter(Source, StartsWith('Modified By', TextSearchBox.Text))

     

    Of course it's not working. Thanks.

  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @JPAguirre 

    'Modified By' is a Person column.  It includes ALL the information about the user - email, display name, picture, title, department, etc.

    Filter(yourDataSource, 'Modified By'.Email = User().Email)

     

  • JPAguirre Profile Picture
    4 on at

    Thanks again. Except for the delegation message it seems to be working formula. However, no results are returned.
    Reading what you wrote, as well as some other details I've gleaned in other posts, and I want to allow people to use a search box I tried the following formula.

    Filter(Source,StartsWith('Modified By'.Email,TextSearchBox.Text))

     

    This worked like a charm. Now I'll tell the staff to search by their username which is the same as the prefix of their email address before the companies domain name.

    Thank you so much for your speedy help.

  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @JPAguirre 

    If you actually want to have the search based on the real name (display name)

    Then you can change your formula to the following:

    Filter(Source,StartsWith('Modified By'.DisplayName, TextSearchBox.Text))

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard