Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello everyone, I have three tables:
- Sales (including a field called AgentID)
- ADUsers (picking up from the Active Directory Domain) where my agents are. There's a field called UserEmail.
- UserAgentID which I maintain: it has the AgentID and the UserEmail associated.
There's a relationship between the three of them. I would like to apply dinamically the AgentID filter on the Sales table depending on the AD user logged in PBI Service. How can I achieve this?
For example:
Sales Table
| AgentID | Value |
| 123 | $ 150 |
| 456 | $ 200 |
| 789 | $ 75 |
ADUsers
| UserEmail |
| john.green@aaa.com |
| mary.white@aaa.com |
| tracy.brown@aaa.com |
UserAgentID
| UserEmail | AgentID |
| john.green@aaa.com | 123 |
| mary.white@aaa.com | 456 |
| tracy.brown@aaa.com | 789 |
If john.green@aaa.com logs in, I would like PowerBI to apply the filter "AgentID = 123" automatically in order to show only $ 150.
Many thanks,
Damiano
You need to use Row-level security (RLS) with Power BI. The conditions are set in Desktop mode and then permissions are given in PBI services (cloud).
Quick and simple to set up. Take a look at the following information. Essentially, you will create locked filters depending on the user accessing the dashboard at the time.
User A can only see Data with Filter A
User B can only see Data with Filter B
etc..
https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |