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 / Filter Table based off...
Power Apps
Unanswered

Filter Table based off of user access table

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Morning All,

 

I have a table that filters the rows based off of the user access. However, there are some users that have access to the entire table.

 

This is how I am filtering (this works)

 

Filter(

   DeptFinancial

    Admins in LookUp(

        Employee,

        User.Email = User().Email

    ).Admins

)

 

The filtering code works based off who is  signed in (no problems here) However, when I try to add an if statement that says "If  the user have access to view all the contents in DeptFinaincial show the entire table" I get hung up. 

 

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    Hi @Anonymous ,

     

    The non-delegable method below will display a blank table if the current user does not exist in the "Admins" column of the Employee table:

     

    Filter(
     DeptFinancial,
     User().Email exactin ForAll(
     Employee,
     Admins.Email
     )
    )

     

     

    ------------------------------------------------------------------------------------------------------------------------------

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

    Imran-Ami Khan

     

     

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 427 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard