This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
HI,
I have data like below for orders table and roles table.
Roles table:
Orders table.
Now Orders tables has 3 countries, US, UK, canada and Roles table has which country data accessed by which user.
Now based on user login to the report Orders table data has to be filtered with RLS.
How to do that?
As of now i dont have any relationship between these 2 tables.
Kindly help
@needhelp @Pragati11 @MFelix @amitchandak @GilbertQ @lbendlin @Greg_Deckler
Solved! Go to Solution.
Hi @Anonymous ,
I suggest you unpivot you role table and filter it to yes :
And create a relationship between your order table and role table by Attribute column and Country column. Then follow the steps in https://radacad.com/dynamic-row-level-security-with-power-bi-made-simple to create dynamic rls.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Hi @Anonymous ,
You can refer following articles on how to approach Row-level security in Power BI:
https://radacad.com/what-do-you-need-to-implement-dynamic-row-level-security-in-power-bi
https://www.sqlshack.com/introduction-to-row-level-security-in-power-bi/
Thanks,
Pragati
@Pragati11 Hi Pragati provided links will not help to my situation.
Here i would like filter dataset based on login user in Dynamic way with RLS.
Hi @Anonymous ,
I suggest you unpivot you role table and filter it to yes :
And create a relationship between your order table and role table by Attribute column and Country column. Then follow the steps in https://radacad.com/dynamic-row-level-security-with-power-bi-made-simple to create dynamic rls.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 8 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 49 | |
| 27 | |
| 24 | |
| 20 | |
| 20 |