Forum Discussion
Hide Button with RBAC
- 1 year ago
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.
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.