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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Lakshmanan94
New Member

RLS and userelationship

I have a fact table and two dimension table, one is name and other is date. I want to calculate the count of one person's data from two columns in fact table for a given month. I use active relationship from name dimension to fact and date dimension to fact for one of the two data. For second data I use inactive relationship.

 

Now when I use rls on name dimension, I get error for the measures I used inactive relationship. Please suggest a solution.

1 ACCEPTED SOLUTION
KNP
Super User
Super User

Show us your model and provide us some sample data and RLS details.

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

View solution in original post

4 REPLIES 4
Poojara_D12
Super User
Super User

Hi @Lakshmanan94 

RLS does not activate inactive relationships automatically.
Whenever RLS + USERELATIONSHIP are together, use manual filtering logic or bridge table modeling.

 

If you'd like, share a simplified version of your table structure and measure and I can try to dive into it and help you as much as I can do.

 

 

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos"

Kind Regards,
Poojara - Proud to be a Super User
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS
v-sshirivolu
Community Support
Community Support

Hi @Lakshmanan94 ,

Have you had an opportunity to review the super user’s response? Could you please provide a sample dataset for reference?

 

Hi @Lakshmanan94 ,
Please provide sample data that covers your issue or question
completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-... 

KNP
Super User
Super User

Show us your model and provide us some sample data and RLS details.

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 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.