Forum Discussion
RLS multiple combination
- 7 years ago
I just remembered that I had to do something strange with my tables which required me to use the OR. For yours, you should be able to just use the following:
- On the company table - Company[PrincipalName] = UserPrincipalName()
- On the department table - Department[PrincipalName] = UserPrincipalName()
If it doesn't work for you I will work up a PBIX file that I can share to demonstrate what I am thinking.
Anonymous ,
You may select Split Column By Delimiter > Advanced options > Split into Rows in Query Editor.
Thank you for response,
I was able to create a table based on these combination using TSQL, the issue I'm having is how to set RLS
with multiple column in a table? my table contain company column and department column
Shoud I create a compusite key for uniqness then create a rool based on this key and User Principal Name?
Iv'e try to do RLS on seperate coluns but it seems to not working.
Thanks,
Oded Dror