Forum Discussion

gouthamct1994's avatar
gouthamct1994
New Member
1 year ago
Solved

Hide Button with RBAC

Hello,   I have a Button, which, when clicked, will display a table that is otherwise hidden. Now, that button is visible to everyone who accesses the report. I have created a table with Display na...
  • kushanNa's avatar
    1 year ago

    Hi gouthamct1994 

     

    What you're trying to do here is similar to visual-level security, which is currently not available in Power BI. However, it's actually a great idea and should be submitted to Fabric Ideas.

     

    If your concern is about users seeing a blank table—such as when an officer clicks a button and then complains about it—you might consider adding a disclaimer or message. If you haven't tried this already, you can display a warning or alert indicating that they are not authorized to access that content when they click on the button.

    In the example below, you'll see that when an officer clicks the button, a warning message is shown. But when a manager clicks the "Show Table" button, no warning appears.

     

     

    I’ve attached a simple sample PBIX file so you or anyone else can try it out.