Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ronaldbalza2023
Continued Contributor
Continued Contributor

Page Level Security

Hi, I set up a sort of "page level security" using the below steps. 

Step. 1 Create the message to display as card visual

DisplayMessage = IF(HASONEFILTER(Staff[Director?]),"Oops, sorry you are not authorized to view this page","")

Step. 2 Add this to create a white or transparent background on the card

Make Transparent = IF(HASONEFILTER(Staff[Director?]),"#White","#FFFFFF00")

Step. 3 Set up Row-level security.

ronaldbalza2023_0-1686297773617.png

The goal is if the user is not a Director, display the message "Oops, sorry you are not authorized to view this page" Otherwise, allow access to the page as per the user's Director status.


It seems that this is not working on the PBI service. Please find attached PBIX sample file and thanks in advance 🙂

 

 

1 REPLY 1
lbendlin
Super User
Super User

As a super user you should know that there is no such thing as Page Level security. Hiding pages is purely cosmetic.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.