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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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