Forum Discussion
Balhemkan
3 years agoHelper III
RLS help
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.
5 Replies
- amitchandakSuper User
Balhemkan , In the role, create the following condition
if([Usershortname] in {"abc","acd"}, [Email] = userprincipalname(), true())