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.
Hi everyone, when applying RLS, this error showed up. Could someone help me out on this, please 🙂 Thank you!
Solved! Go to Solution.
@ronaldbalza2023 , refer
USERELATIONSHIP cannot be used when row level security is defined for the table in which the measure is included. For example, CALCULATE(SUM([SalesAmount]), USERELATIONSHIP(FactInternetSales[CustomerKey], DimCustomer[CustomerKey]))
will return an error if row level security is defined for DimCustomer.
https://community.powerbi.com/t5/Desktop/USERELATIONSHIP-and-RLS/m-p/787463
https://docs.microsoft.com/en-us/dax/userelationship-function-dax
@ronaldbalza2023 , refer
USERELATIONSHIP cannot be used when row level security is defined for the table in which the measure is included. For example, CALCULATE(SUM([SalesAmount]), USERELATIONSHIP(FactInternetSales[CustomerKey], DimCustomer[CustomerKey]))
will return an error if row level security is defined for DimCustomer.
https://community.powerbi.com/t5/Desktop/USERELATIONSHIP-and-RLS/m-p/787463
https://docs.microsoft.com/en-us/dax/userelationship-function-dax