Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Customize & Extend
Unanswered

Site-wide filter for all entities and Power BI visuals

(0) ShareShare
ReportReport
Posted on by 1

Hi, I am new to Power Pages so would appreciate some guidance on how to approach this seemingly impossible problem.

 

I am working on a site with entities/forms across multiple pages as well as Power BI visuals embedded on multiple pages. I know that if I use row-level security in Power BI and the OOB security features in Power Pages, that will automatically filter the data to show only account-specific data for the logged-in user. The forms and any values passed to my Power Automate flows would also capture their account for CRUD operations. This is perfect for most of my users.

 

However, I have a many-to-many relation between accounts and users as I need some users to have access to multiple accounts (i.e. special users). But critically, I need these special users to be able to work on only one account at a time across the Power Pages site and not have the data aggregated across more than one account. This means that at some point during/after login I want these users to select one account from the ones they can access. This selection would then determine the account filter for all Power BI dashboards and entities across all pages. And as a bonus, the selected account would also be captured in relevant fields in forms or be able to pass the value to Power Automate for CRUD operations. 

 

The only approach I can think of is an "account selector" dropdown linked to a variable, perhaps on one of the pages (or ideally in the header if doable), but open to other ideas to fulfil the requirements. The most similar example I can think of to illustrate this is the Environment selection tool in the header Power Platform back end. So the question is how would I implement this?

powerpages environment selection.jpeg

Categories:

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43

Featured topics