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 / Filtering using Sharep...
Power Apps
Answered

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,299 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,299 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,299 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,033

#2
Valantis Profile Picture

Valantis 632

#3
11manish Profile Picture

11manish 607

Last 30 days Overall leaderboard