Forum Discussion

MamaHani2's avatar
MamaHani2
Frequent Visitor
1 year ago
Solved

RLS does not get applied

hello we have a tabular model deployed to powerbi service workspace;  users can then connect to this model and build their reports; they have been granted viewer access on the workspace with the m...
  • MamaHani2's avatar
    MamaHani2
    1 year ago

    i have booked quite some progress;

    i noticed that within 1 role the full context have to be included;

    i have 1 role per fact table, as expectation is to limit the access to companies depending on the fact table ; i created therefore 2 roles, and put filters inside: 1 role -> table1 filter; 2 role - > table2 filter;

    how Powerbi read this: 1 role -> table1 filter, table2 give full result; 2 role -> table2 filter, table1 give full result; as roles add to each other, it kept giving me full results; i put now the filters into 1 role, and first tests are very promising; all data got filtered on both tables; lets see where this gets me;

     

     

    Edit: this was the correct approach; it solved my issue