cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Randebr
Level: Power Up

Filter by user

Helo Friends,

need to filter the items from the list so that the user sees only the items that he created

2 ACCEPTED SOLUTIONS

Accepted Solutions
Super User
Super User

Re: Filter by user

Your filter would look something like this:

 

Filter([DataSourceName], User().Email=Author.Email)


--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

Community Support Team
Community Support Team

Re: Filter by user

Hi @Randebr,

 

If here you mean to filter the data with the Current user, then you could take use of the user() function as @Jeff_Thorpe suggested.

For more details about how to work with User() function, please check:

User function in PowerApps

 

Besides, if the data is large and performance is considered, then please consider create a collection to cache the User data, then use the collection to reference the user related information.

You may take a look at the following example:

PowerApps User() function - cache current user OnStart

 

Regards,

Michael

Community Support Team _ Michael Shao
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

2 REPLIES 2
Super User
Super User

Re: Filter by user

Your filter would look something like this:

 

Filter([DataSourceName], User().Email=Author.Email)


--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

Community Support Team
Community Support Team

Re: Filter by user

Hi @Randebr,

 

If here you mean to filter the data with the Current user, then you could take use of the user() function as @Jeff_Thorpe suggested.

For more details about how to work with User() function, please check:

User function in PowerApps

 

Besides, if the data is large and performance is considered, then please consider create a collection to cache the User data, then use the collection to reference the user related information.

You may take a look at the following example:

PowerApps User() function - cache current user OnStart

 

Regards,

Michael

Community Support Team _ Michael Shao
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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 353 members 6,099 guests
Recent signins:
Please welcome our newest community members: