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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.