cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LaurenLCF
Level: Powered On

Only show items by one user in Gallery

I am making a simple leave request app. I would like to include a page where users can view the leave they have already booked.

 

At the moment every users requests are stored in one Sharepoint list. I have inserted a gallery into the app but at the moment it displays the leave of every user. I assume that I need to insert an IF function to filter for the user in the "created by" column in the Sharepoint list but I'm not sure of the syntax of that.

 

Can anyone suggest? This is what I have so far:

 

Many thanks.

 

Leave app.jpg

1 REPLY 1
Highlighted
LaurenLCF
Level: Powered On

Re: Only show items by one user in Gallery

UPDATE: I solved this using the following formula in the Item field - Filter('Leave Requests', Author.Email=User().Email)

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

Follow PowerApps on Twitter

Stay Up-to-Date by following PowerApps on Twitter

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Users Online
Currently online: 92 members 3,940 guests
Please welcome our newest community members: