Forum Discussion
RLS not filtering on all graphics
- 4 years ago
barbaracruvinel The many bi-directional relationships within your model is causing ambiguity. Bi-directional relationship guidance - Power BI | Microsoft Docs For RLS to work best, it's best to have single direction filters, and that the RLS table is the most upstream. That is, the arrows always point away from the RLS table no matter the path taken. If you are having trouble getting it to filter in the right direction, I sometimes change relationship to M-M then you can choose whatever direction is best.
Additionally, you may need to use UserPrincipalName() not UserName(). UserPrincipalName() is typically the full email address like you have in your table. Restrict data access with row-level security (RLS) for Power BI Desktop - Power BI | Microsoft Docs
Hi barbaracruvinel ,
Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.
Best Regards
Lucien