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

Filter on SP list in PowerApps

Can someone help me getting the right string to this. Or on the right path

Iin Powerapps I have an SP overview list, what shows all entries made from all users, can I filter the view to only show the entry made from the current user in the app.
1 ACCEPTED SOLUTION

Accepted Solutions
Leinad
Frequent Visitor

Used seach function, working now. Thanks for the reply.

 

 

View solution in original post

4 REPLIES 4
leyburn19
Memorable Member
Memorable Member

On the first screen create a variable in the property onstart:

 

set(VarUser,user.Fullname)

 

Then use this to filter your gallery EG:

 

Filter(Source,Author=VarUser)  I think Author is teh field that stores the user name.  It might be "created"

 

Leinad
Frequent Visitor

Hej leybrun19

 

Can I Filter by Author in BrowseGallery ? I can not select Author as an Label in Gallery, or can I do that ? 

 

Created is the time and date on when the new item was created on on the SP list.

 

 

leyburn19
Memorable Member
Memorable Member

Ok - Authour does not allow selection and it might not be teh right person.   

 

In some apps I have added a ownername column and owner email so, when adding new records I:

 

 

If I use Patch()   I have it set a owner column to the User().Fullname and Email column to User().Email

 

If I use an edit form I add these columns and set  field defaults to User().Fullname etc  then hide the fields

 

I then do what I described above so teh user only sees their own records.  Yu need to put it in the variable firts as if you use the User().Fullname etc in the filter yu get a delegation notice. With the variable you do not

Leinad
Frequent Visitor

Used seach function, working now. Thanks for the reply.

 

 

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 (1,249)