RLS Question on how to apply security on filter & transaction

Hello

I am trying to include a security role to the model for providing expense details based on the active directory group email.

The role need to handle the below
1.Admin should see all Account details across all account codes
2. Team1 group can see account codes = 02 and account grp2 = Other Costs
3. Team2 group can see account codes = 02 account grp1 = Misc
and account codes = 03

Trying to see if this can be handled with a single role as more teams might be needed to add later. Also, the slicer / filter should reflect only the account codes that they should see. How to model this for transaction table and account codes table. Any advice on how to apply rls on this.

My sample pbix is attached.

https://drive.google.com/file/d/1z5bzSReY4-hJpn5FdFiHEvUj6sPn4oOs/view?usp=sharing

Hi @train, we aim to consistently improve the topics being posted on the forum to help you in getting a strong solution faster. While waiting for a response, here are some tips so you can get the most out of the forum and other Enterprise DNA resources.

  • Use the forum search to discover if your query has been asked before by another member.

  • When posting a topic with formula make sure that it is correctly formatted to preformatted text </>.

  • Use the proper category that best describes your topic

  • Provide as much context to a question as possible.

  • Include demo pbix file, images of the entire scenario you are dealing with, screenshot of the data model, details of how you want to visualize a result, and any other supporting links and details.

I also suggest that you check the forum guideline https://forum.enterprisedna.co/t/how-to-use-the-enterprise-dna-support-forum/3951. Not adhering to it may sometimes cause delay in getting an answer.

Hello @train , due to the length by which this post has been active, we are tagging it as Solved. For further questions related to this post, please make a new thread. When starting a new post, I suggest linking this thread, provide as much context to a question as possible, and include the masked demo pbix file, images of the entire scenario you are dealing with, a screenshot of the data model, details of how you want to visualize a result, and any other supporting links and details. Thanks!