Forum Discussion
Not able to get RLS to work on a second table
- 8 years ago
Ah, I see, so you should in best practise use the same security filter as in certain cases one will counter act the other. If you disable that security filter does this one work? What are you filtering on the other one?
- Anonymous8 years ago
Thanks for your assistance on this one. I deleted the relationship between the two tables and the RLS works well independently. You touched on what I believe to be the issue though, that is the RLS should use the same security filter or one will counter the other. In addition, if the tables do not need to be related then independent RLS is possible.
Thanks again!
Are you sure [ORGN_CODE] has the value of 10100 ?
Another point to note is - If you apply the RLS in the master table, the crossfiltering will pass to the transaction table but the vice versa wont happen.
Thanks
Raj
Yes, [ORGN_CODE] has the value of 10100. I have also noted your filter point as well. Thanks for the reply overall however, I still am unable to get this working. As a troubleshooting measure I've tried filtering by other columns on the transaction table and no luck with anything I seem to try there.
Any other ideas?
Thanks,
aday
- shebr8 years agoResolver III
Hi Anonymous
There are a few things that may need to be set here, can you share the pbix file by any chance? Appreciate it may be sensitive data.
Thanks
shebr
- Anonymous8 years agoNot applicable
I'm sorry I cannot share the file (sensitivity) however, what settings are you speaking of?
- shebr8 years agoResolver III
Hi Anonymous
A couple of things you could check to begin with, the data type of the value you are filtering. Ensure this is a text value accross the board.
Also, add the column to the page filter of your report and test that it works by just selecting and applying that filter.
Can you share the code you have used in your role filter please?
Thanks
shebr