cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JPAguirre
Frequent Visitor

Filtering using Sharepoint system column

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.

1 ACCEPTED SOLUTION

Accepted Solutions

@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))
_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

5 REPLIES 5
RandyHayes
Super User
Super User

@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. 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

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.

@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)

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

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.

@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))
_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,861)