Forum Discussion

Lakshmanan94's avatar
Lakshmanan94
New Member
10 months ago
Solved

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.

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

     

4 Replies

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

     

  • Anonymous's avatar
    Anonymous
    Not applicable

    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 

    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.