web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Lookup and Filter Shar...
Power Apps
Unanswered

Lookup and Filter Sharepoint List

(0) ShareShare
ReportReport
Posted on by 6

Hello all,

 

I have a few Power Apps based on Sharepoint Lists. Each app has an Admin table. If the current user is in the admin table I display a couple of extra menu items. 

 

 

 

Set(
 isUserAdmin,
 !IsBlank(
 LookUp(
 TransportAdmins,
 Admin.Email = currentUser.Email
 )
 )
);

 

 

 

 

What I would like to do is have one Admin list. There would be two columns, Name and App Name.  Since a user could be an admin of more than one app I thought about trying to Filter the Admin table by the app name and do the LookUp all at once but I can't seem to get the syntax right, if it's even possible.

 

If anyone has any suggestions or other thoughts on how to do this it would be appreciated. 

 

Thanks

Rob

 

Categories:
I have the same question (0)
  • v-albai-msft Profile Picture
    Microsoft Employee on at

    Hi @RobGibson69 ,

    I think this is not practical to compare with another admin list.

    Assume that you have filled all app name and their admin user name in your admin list, then we need to compare the current app name with the data in your admin list. To get the current app name, we can use formula like: 

    PowerAppsforMakers.GetApp("Paste Your App ID HERE").properties.displayName​

    However, we need to specified the APP ID manually in above formula. 

    valbaimsft_0-1625038769133.png

     

    As a result, I would suggest you directly compare the current user name with your list(data source list he is accessing). So suggest you try formula like this:

     

    Set(isUserAdmin, !IsBlank(LookUp(TransportAdmins,User().Email in Admin.Email)))

     

    Best regards,

    Allen

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 414

#2
Valantis Profile Picture

Valantis 387

#3
timl Profile Picture

timl 344 Super User 2026 Season 1

Last 30 days Overall leaderboard