Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
hi
I did create RLS and it is working on Power bi Desktop.
but in my organisation ,more than 1000s of users name.
i am using USERPRINCIPALNAME () for RLS.
with out adding Email address(1000) time,is there any dynamic way, user can see the data as RLS Defined.
If user abc@test.com login, he should able to see his data as per RLS defined with out adding email address below?
If i add,it works perfect but i need to add 1000 and when new user turns up or user leaves, hard to keep track.
Solved! Go to Solution.
Use distribution lists. Ideally manage these distribution lists in a separate application lifecycle tool, including ways for users to subscribe and renew membership, with approvals and automatic cleanup when users leave the company.
Hey How You Solved That Problem.
IF (
CALCULATE (
COUNTROWS ( 'StaffTable' ),
FILTER ( StaffTable, 'StaffTable'[Username] = USERPRINCIPALNAME () && [Admin] )
) > 0,
[Country]
= CALCULATE (
MAX ( 'StaffTable'[Country] ),
FILTER ( 'StaffTable', 'StaffTable'[Username] = USERPRINCIPALNAME () )
),
[Username] = USERPRINCIPALNAME ()
)
My table has admin bit flag. 1 has full access and 0 are restricted to allocation of the table.
| ID | Name | Username | Admin | Country |
| 1 | John | john@email.com | 0 | UK |
| 2 | Peter | p@email.com | 1 | uk |
Hi BiDeveloper555,
Can you Give Me More Details on the Same.
Like one Question I have Is Where you have put this Expression
Thankyou
Use distribution lists. Ideally manage these distribution lists in a separate application lifecycle tool, including ways for users to subscribe and renew membership, with approvals and automatic cleanup when users leave the company.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 38 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 66 | |
| 30 | |
| 26 | |
| 25 |