Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi
How implement with best practize the RLS with Or condition ?
Actually the secu is on 04 - Principal , its ok :
RLS vt_secu_users : [upn] = USERPRINCIPALNAME()
Now, we want a OR condition on
-> 04 - Principal
-> 05 - Applicant
-> 02 - Beneficiary
-> 03 - Guarantor
these are the same 4 tables
Thanks for your helps.
Best regards.
Solved! Go to Solution.
Hi @Cobra77 ,
Please consider the 'Apply security filter in both directions ' in the relationships.
By default, row-level security filtering uses single-directional filters, whether the relationships are set to single direction or bi-directional. You can manually enable bi-directional cross-filtering with row-level security by selecting the relationship and checking the Apply security filter in both directions checkbox.
Refer:
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Cobra77 , RLS condition should return true or false, I did not get the logic, what you want with those 4 columns, Can you explain that.
Just treat the RLS statement like if the condition at line level
hi @amitchandak
if the user user1@group.com has rights to account code 10250 for example.
Currently only dimension '04 - Principal 'was filtered.
We want that with this code the RLS filters dimensions:
'04 - Principal'[Code] =10250 or 05 - Applicant[Code] =10250 or 02 - Beneficiary[Code] =10250 or 03 - Guarantor[Code] =10250
Hi @Cobra77 ,
Please consider the 'Apply security filter in both directions ' in the relationships.
By default, row-level security filtering uses single-directional filters, whether the relationships are set to single direction or bi-directional. You can manually enable bi-directional cross-filtering with row-level security by selecting the relationship and checking the Apply security filter in both directions checkbox.
Refer:
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
77 | |
74 | |
63 | |
61 | |
45 |
User | Count |
---|---|
108 | |
102 | |
93 | |
83 | |
64 |