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!
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.
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 |
|---|---|
| 55 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 123 | |
| 108 | |
| 44 | |
| 32 | |
| 26 |