Forum Discussion
How to copy/paste RLS from one pbix. to another?
- Anonymous6 years ago
HI brunozanoelo ,
In fact, power bi does not limit the role amount of RLS. So for your requirements, you can create different roles and assign roles to your users.
For instance, you have 10 users and they need to be filtered by their usernames, you need to hard code 10 roles for each user. If you create a dynamic username role, you can use one role on all users. (RLS with username can be used to reduce role amount of similar user roles)Regards,
Xiaoxin Sheng
Anonymous one question:
Some of my customers don´t use RLS, so this idea os RLS using groups will still work for me? Some of my users inside my table should see all the data. This is possible? IF the logon user don´t meet the USERNAME() it will appear all the data from my pbix?
HI brunozanoelo ,
In fact, power bi does not limit the role amount of RLS. So for your requirements, you can create different roles and assign roles to your users.
For instance, you have 10 users and they need to be filtered by their usernames, you need to hard code 10 roles for each user. If you create a dynamic username role, you can use one role on all users. (RLS with username can be used to reduce role amount of similar user roles)
Regards,
Xiaoxin Sheng