Forum Discussion
sgsukumaran
9 years agoResolver II
Row level security on Hierarchy
I am trying to implement RLS on Ownership hirerachy where an user can be a merchant, manager or director. How to acheieve this in tabular model? Any pointers on Dax would help. This is my current dax and I want to expand on this
='Product Ownership'[Merchant]=LOOKUPVALUE('Product Ownership'[Merchant], 'Product Ownership'[UPN], USERNAME())
2 Replies
- GilbertQSuper User
hi sgsukumaran
What I would suggest if you are trying to do this is to enable the RLS at the lowest level.
So what will happen is based on this, as you go up the hierarchy it will automatically filter out the data in the hierarchy.
- sgsukumaranResolver IIIt is already at the lowest level (merchant). I have to default their view based on the level in hirearchy. If i am a gmm i need to see data for all merchants under me.