Forum Discussion
Automatically send Power BI reports by email only containing end-user information? Dynamic RLS
- 5 years ago
Testing the role in Power BI desktop requires you to check BOTH the role and "Other user" and you need to specify the email address you want to test. Testing in the service only needs the role.
yes. You can export to file and specify a report level filter that in your case would have to drive the RLS column (user email) that you have implemented.
Note: Export to File has API call quantity limitations.
- Rose__1235 years agoHelper II
lbendlin thank you. I tried to use dynamik RLF
But when I set a filter on the emails in "manage roles" and then try to set the security in both directions, I'm getting an error saying that I can't. Do you know why?But
- lbendlin5 years agoSuper User
Setting a filter to bidirectional defeats the purpose of RLS. Even if you can do it you never ever should. The RLS table needs to sit on the outer rim of your Star schema and point single direction all the way to the fact table.
- Rose__1235 years agoHelper II
lbendlin I also tried that, but it does not filter anything when I test the role in Power BI Desktop.
Right now all facts point to invoices and the lines of the invoices. I would think that the relation between invoices and the lines should be filtered in both directions, but it does not change anything in my tables.
Is the filtering incorrect?