I have a report with multiple pages. One page has employee costs report for the organization and I want to provide access to this report only to the senior managers. I did the following to meet this requirement.
1. Create a role and selected the tables that feed data to this table. Selected 'hide all rows' as filtering criteria.
2. In the dataset security in service, add the users for this role and they will be restricted from seeing this report. But the problem lies when there are more number of users. Do i need to manually add each and every user to the security group for this role. Is there any chance of selecting senior managers who are less in number and rest are all users should be restricted from accessing the report. Something like 'Not' operator in the filter criteria.
To be general, you can achieve this by create an additional user table and create one username column in each table, then create a relationship between the User table and each table and create a role on the user table using DAX like pattern:
User[UserName] = USERPRINCIPALNAME()
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.