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 moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher 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.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
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 |
|---|---|
| 25 | |
| 24 | |
| 22 | |
| 21 | |
| 19 |
| User | Count |
|---|---|
| 52 | |
| 48 | |
| 47 | |
| 22 | |
| 21 |