Forum Discussion

m-colbert's avatar
m-colbert
Icon for Resolver III rankResolver III
4 years ago
Solved

RLS with Multiple Role Purposes

I have a model (simplified version) that has two dimensions A and B and one fact able. My scenario is that I have a set of roles for each dimension. A user will belong to one of the A roles and one ...
  • m-colbert's avatar
    m-colbert
    4 years ago

    Anonymous 

     

    The documentation may indicate that they are additive, whch was also my assumption. But I can assure you the results are not consistent with that behavior. 

     

    I implemented the dimension A as a individual roles and then added the same DAX to filter dimension B to each role and used dynamic RLS with associated user/user profile tables in order to combine them correctly. This is a very limiting implementation of roles and accurately combining roles should be possible. There was no overlap of DAX filters between roles also it should work.