Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Choosing when to use row level security

We have one SSAS Tabular model with all our facts, a security table and a dim_organisation.

The dim_oganisation is THE table that is joined to all the fact tables.

We have created dynamic RLS for specific users on the dim_organisation using the security table through a lookup function..

 

So far so good.

Now we have users that may see all the HR data of the whole organisation, but only the financial data of their own department.
As the dim_organisation is joined to ALL fact_tables. Once the RLS is implemented not only is the financial data filtered, but also the HR data. And this is not what we want.

Now we can, of course, create a seperate HR SSAS model and change the dynamic RLS for this specific group. But this means duplicating dimensions within the seperate models. This leaves room for errors in managing the models: the same dimensions don't have to be the same between the models. Which in turn can lead to all sorts of questions from users. 

We could also bypass the SSAS model an create a data model for the HR datamart star in PowerBi and add separate RLS to this dataset by excluding the HR people. This again creates a seperate entity which we have to maintain and increases the complexity of our solution. 

Is there any other way to do this?

We cannot be the only ones having these kinds of challenges. 
Or are the only solutions the ones specified earlier?

Thanks!



 

1 REPLY 1
Greg_Deckler
Super User
Super User

I suppose this somewhat depends on how you implemented your dynamic RLS, there are multiple ways of doing that. How did you implement yours?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors