How do I handle Dynamic Row-Level Security for users across multiple departments?
I need to set up a single Power BI report where managers can only see data for their specific department. I’ve tried basic RLS, but my user list is constantly changing. Does anyone have a template for "Dynamic RLS" using the USERPRINCIPALNAME() function? I have a mapping table that links User Emails to Department IDs, but I’m not sure how to set up the relationship so it filters the main Fact table correctly without causing circular dependency errors.
Write a Comment
Your email address will not be published. Required fields are marked (*)