Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I would like to ask you to help me understand behavior of RLS in Power BI. I have 3 facts tables (in direct query mode) and 4 Dim tables. I have to provide for users role which is unifying data where user assigned to the role (USERPRINCIPALNAME() ) can see union of data filtered by each dimension rls filter. Here are printscreen of my model and printscreen of my RLS role.
One dimension is filtering business segment of sales, second product segment of sales and 3rd on is filtering sales people and each dimension table i can use in RLS DAX with UPN.
Using all three conditions is returning mismatched unexplainable rows. Using two of filters is retrurning almost all rows. using one filter is returning correct data.
Is there any way how to union all three filter in one role?
Solved! Go to Solution.
Hi, @kuby72
According to your description, I think you can try to create a general user table, then create a relationship with the three fact tables, and finally set RLS in the general table.
Reference: https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls
If you still need help, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @kuby72
According to your description, I think you can try to create a general user table, then create a relationship with the three fact tables, and finally set RLS in the general table.
Reference: https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls
If you still need help, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
82 | |
79 | |
66 | |
49 | |
46 |
User | Count |
---|---|
103 | |
44 | |
39 | |
39 | |
39 |