Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
IsFea
New Member

USERELATIONSHIP Ignoring RLS with Inactive all Relationships – Bug or Feature?

Hello, I have a question about how USERELATIONSHIP works when all relationships are initially deactivated.
As an example, I have prepared a simple data model (all relationships are deactivated!):

IsFea_0-1739429868952.png

dimproduct:

IsFea_1-1739429895091.png

factonlinesales:

IsFea_2-1739429912036.png

I have set up a simple RLS role.

IsFea_4-1739430248131.png

Without using USERELATIONSHIP, I only see Deluxe products:

IsFea_5-1739430320586.png

Since RLS filters my dimension table. Great!

IsFea_6-1739430432897.png

 

However, when I add USERELATIONSHIP:

IsFea_7-1739430489358.png

I start seeing Economy products!

 

Can someone explain why this happens? It looks like a bug because I expected to get the sales total only for Deluxe.

IsFea_8-1739430634747.png

Yes, I understand that RLS propagates through active relationships, but there are no active relationships in my model!
I want to filter my dimension table using RLS, and I expect this filtered dimension table to also filter my fact table.
1 REPLY 1
Rupak_bi
Super User
Super User

Hi,

Userrelationships also works as active relationships only and will bypass RLS. To enable RLS, you need to define the same in the DAX where using Userrelationship.



Regards
Rupak
FOLLOW ME : https://www.linkedin.com/in/rupaksar/

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.