cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted

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

 

 

View solution in original post

4 REPLIES 4
Highlighted
Super User
Super User

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"

 

Highlighted

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.

 

 

Highlighted

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

Highlighted

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

 

 

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (10,334)