Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Customize & Extend
Suggested answer

Power pages auto filtered list

(1) ShareShare
ReportReport
Posted on by 110
I am currently trying to auto filter a list in power pages, I have a column labeled cr6d0_department and I want to filter the list by the user's 
{{ user.department }}
 
I haven't found a way to do this easily, I also want it to filter out those rows that were filtered from the download option. any ideas?
Categories:
  • Suggested answer
    oliver.rodrigues Profile Picture
    9,248 Most Valuable Professional on at
    Power pages auto filtered list
    Is your list (what I am calling Table X below) pointing to the Contact table? 
     
    So basically you want to display a list of Contacts where they are from the same department?
     
    My approach below would work just fine
    • Table Permission on Department
    • child Table Permission on Contact 
    List is a component within Power Pages: Add lists | Microsoft Learn
  • ZackS Profile Picture
    110 on at
    Power pages auto filtered list
    Hi Oliver, 
    department is a look up inside of contacts. I'm just not really sure how to enable a contact list.
  • Suggested answer
    oliver.rodrigues Profile Picture
    9,248 Most Valuable Professional on at
    Power pages auto filtered list
    Hi, is the idea for the list to be filtered only? or actually secured by the department?
     
    Also, is department a lookup?
     
    My initial thoughts here:
    • Department should be a table 
    • Contact table should have a lookup for department
    • "Table X" should have another relationship with department (either 1:N / N:N / N:1)
    • Table permission should be setup in a hierarchy way:
      • Department - Contact scope pointing to lookup relationship
      • "Table X" Parent/Child scope, pointing to the department relationship, this should be a child permission of the Department permission
    the above approach would ensure your data is secured by the Department
     
    hope this helps

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,522 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,890 Most Valuable Professional

Leaderboard

Featured topics