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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 34 | |
| 31 | |
| 27 |
| User | Count |
|---|---|
| 136 | |
| 99 | |
| 73 | |
| 66 | |
| 65 |