Forum Discussion

rutujakadam_11's avatar
rutujakadam_11
Frequent Visitor
2 years ago

Row Level Security

I have to apply Row Level Security in power bi report.   The data is hierarchical data where I have to create 4 roles, Global : having access to entire report, Division : having access to Division level, subdivision : having access to Subdivisions under the Divisions & lastly Entity: having access to only entities under a specific subdivision.   I have a table where I have the details of the members describing who will have what level access & their email addresses. The table having the user details is called User_Access having columns 1.Username: name of the employee 2.Email: email address of the employee 3.Access Type: which level of access does the employee have; Global, Division, subdivision or Entity(hierarchy global being the top & entity being the lowest) 4.Access Value: which particular segment the employee has access to; Global has all, Division has for one of the divisions eg:  Matt has access to entire ABC Division whereas Rainer has access to entire PQR division. 5.AccessKey: This column is a key created by combining the Divison-SubDivision-Entity to understand and have clear understanding of the level of access for each employees. Eg; Stephan has access to Entity UK level meaning he should view data for only that particular entity which comes under ABC as division & Europe as sub-division, so his AccessKey will be ABC-Europe-UK.

 

How do I apply RLS to such hierarchy?

3 Replies