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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
im testing the dynamic RLS,
i have the following table.
RLS formula 1 ;
VAR _key =
CALCULATEtable(
values('Table'[empid]),
'Table'[adress] = username())
RETURN
PATHCONTAINS('Table'[emppath], _key )
testing RLS on test1 : test1 , should see all other users. ( the above code doesnt worrk)
RLS formula 2 :
VAR _key =
CALCULATEtable(
values('Table'[empid]),
filter(
'Table',
'Table'[adress] = username())
)
RETURN
PATHCONTAINS('Table'[emppath], _key )
with this code,
the RLS works.
so im confused about why the first code didnt work .
any help explaining the reason why the first code didnt work correctly, but the second did would be appreciated,
Go to manage role
select table column
for E.g [Adress] = USERNAME() click OK.
Than
Go to View As
Check
@Daniel29195 I hope this helps you!THANK YOU!!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
8 | |
3 | |
3 | |
3 | |
3 |