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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have a table which has a region field. I created a table as access with username, region, useradmin.
I want to filter region on main table based on the username and region from access table. Useradmin's should able to see all the regions and should not filter anything.
I tried below roles but it did not work.
[username] = USERPRINCIPALNAME()
if ( [username] = USERPRINCIPALNAME(), true(), [useradmin]=USERPRINCIPALNAME())
Solved! Go to Solution.
Hi @gsk135
Assign something like as the filter on your security table
To test click Modelling | View As then under Other user enter the name to test. Also tick the security role you created here mine is untitled
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi @gsk135
Assign something like as the filter on your security table
To test click Modelling | View As then under Other user enter the name to test. Also tick the security role you created here mine is untitled
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 60 | |
| 45 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 108 | |
| 108 | |
| 41 | |
| 30 | |
| 27 |