So I was trying to following the post at RLS security/Hierarchy levels but I think my scenario might be slightly different. Row Level Security from a Dynamic Standpoint has been a challenge for me and there are simply too many combinations to manually create the roles.
What I want is my Cost Center UserTable to control the Worldwide Budget table based on the user and the Cost Center they are permitted to see. Inside of the Cost Center UserTable is the Cost Center which matches the Cost Center in the Worldwide Budget Table and also the users email address as well as their user ID.
Because its education data, I cannot display the information in detail I I created a sample file for each table to help you get an idea. As you can see the Cost center becomes the RLS item and because there are about 100+ of these I am trying to avoid having to type all of these individually.
You are a rockstar!!! One question I have. There are 5 individuals that I need to give access to see all of the data is there a way to enter their unique IDs into the DAX expression to accomplish this?
@jmwdba you could but then you’d also have to maintain it there. That would definitely not be my choice. Instead think about adding those exceptions to the model, so you can update that without having to hard code anything a DAX expression.
When you say add it to the model do you mean add those users into the Cost Center file display for each cost center? If so, the downside of that there is 422 cost centers that I would have to enter the individuals for.
I am trying to think this through and visualize it. So if I took the below email addresses as examples would I need to create a table that has each email address as well as each possible cost center or is it just a table of the email address? I would probably call this table “Cost Center Administration”.