Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hello Team,
I need your assistance on below issue.
I have master table which linked to fact table .we have values like below
Usershortname | Email ID |
abc | |
bcd | |
efg |
we are using usershortname in slicer.
My scenario is
If abc user login he need to see only abc in slicer
if bcd user login he need to see only bcd in slicer.
if any other country user login then they need to see all the users.
How can i create RLS for below issue could you please help me.
@Balhemkan , In the role, create the following condition
if([Usershortname] in {"abc","acd"}, [Email] = userprincipalname(), true())
Hi Amit,
Is there any other way instead of manually entering users.
Because we have too many users.
@Balhemkan , [Email] = userprincipalname()
is way, but you have the condition to ignore, that is why hard coding
How to use Row Level Security (RLS): https://youtu.be/NfdIA0uS6Nk
Hi @Balhemkan if you have active directory step up for your organization, you should be able to use that for this exercise instead of manually entering users.
Hi Amit, I have AD groups in organization but how it will help for RLS. Could you please explain little brief
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 53 | |
| 42 | |
| 30 | |
| 24 |