Forum Discussion
Power BI Security Roles
- 7 years ago
This is by design. If you try to use RLS in calculated columns or calculated tables, it will not work as you expect, because RLS is applied at query time, and calculated columns and calculated tables are evaluated at data refresh time, which is before any query time.
- 7 years ago
Hi ruicaio,
It is supposed to work like that. The calculated table vTABLE = FILTER('TABLE','TABLE'[Column1] <> "VALUE1") data will not change until the TABLE raw data change. As the Security role is filtering table TABLE and there is no relationship between table TABLE and vTABLE, vTABLE values will not be affected by the role.
If you want the vTABLE to be filtered by this Securoty role as well, you need to create a relationship between these two tables.
Best Regards,
Qiuyun Yu
Hi ruicaio,
It is supposed to work like that. The calculated table vTABLE = FILTER('TABLE','TABLE'[Column1] <> "VALUE1") data will not change until the TABLE raw data change. As the Security role is filtering table TABLE and there is no relationship between table TABLE and vTABLE, vTABLE values will not be affected by the role.
If you want the vTABLE to be filtered by this Securoty role as well, you need to create a relationship between these two tables.
Best Regards,
Qiuyun Yu