Showing results for 
Search instead for 
Did you mean: 

Filter gallery depending on the app user

Hi, everyone! I have made an app that should assign employees' requests to different members of the company depending on the manager.

I've got 2 lists:

1)It is called "Retornoflexible_1", it contains all the requests and one of the columns is "Legajo" which is the requester's ID, text type.

2)It is called "TablaEmpleados", it contains all the employees' ids (USERID), their email (EMAIL) and manager's id (MANAGER). 


I would like to filter a gallery with all the requests depending on who is logged in. I would need to look up the requester's id on  Retornoflexible_1, obtain the manager´s id, then look up the manager´s id and get it's email. After that, I may filter the gallery.

I used this code in the items property of the gallery but it keeps failing.






 I think that I have the problem with "Legajo" reference but I'm not sure what I am doing wrong. 





Thank you in advanced!!!

Helpful resources


August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!


Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021


Power Automate Community User Group Member Badge

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

Users online (3,424)