Forum Discussion
How to hide visual for specific users
- 1 year ago
TusharGaurav You can use RLS
Go to the "Modeling" tab.
Click on "Manage Roles."
Create a new role and define the DAX filter that will be used to control access.Publish your report to Power BI Service.
Go to the dataset settings in Power BI Service.
Click on "Security."
Assign users to the roles you created.Use the DAX filter to control the visibility of the matrix visual. You can create a measure that returns a value based on the user's role and use this measure to control the visibility of the matrix.
IsMatrixVisible = IF(USERPRINCIPALNAME() = "[email protected]", 0, 1)
TusharGaurav You can use RLS
Go to the "Modeling" tab.
Click on "Manage Roles."
Create a new role and define the DAX filter that will be used to control access.
Publish your report to Power BI Service.
Go to the dataset settings in Power BI Service.
Click on "Security."
Assign users to the roles you created.
Use the DAX filter to control the visibility of the matrix visual. You can create a measure that returns a value based on the user's role and use this measure to control the visibility of the matrix.
IsMatrixVisible = IF(USERPRINCIPALNAME() = "[email protected]", 0, 1)
- 123abc3 months agoCommunity Champion
what a excellent solution. Thank you so mcuh. its solved my many issues.😍