Forum Discussion
row level security & overall sum
In this power-bi-project we have different departments with their own budget.
I want to experiment with some roles (by department) and indeed i can see only the budgets of the departments i'v access to. All right!
Thanks in advance.
Anonymous I think easiest and the only solution is to bring in only sum of budget amount as a second data source in the report. There won't be any RLS applied to that second data source and so it will work in both desktop and service regardless of the RLS defined on your original dataset.
3 Replies
- ankitpatiraCommunity Champion
Anonymous I think easiest and the only solution is to bring in only sum of budget amount as a second data source in the report. There won't be any RLS applied to that second data source and so it will work in both desktop and service regardless of the RLS defined on your original dataset.
- AnonymousNot applicable
ankitpatira : thanks for your respons. I was also thinking about that solution.
I hoped there was another wa, because in reality I don't want to display only the budgets but also some calculated values.
As I understand you well, I'v to copy all the tables I need, define all the calculated columnes again and define all the measures again (but with references to the new tables).
A lot of work I hope I don't have to do!
- v-qiuyu-msftCommunity Support
Hi Anonymous,
As we know, the RLS rule is applied on the table level with the report. You can image if one part of table data are affected by RLS rule but others will not, it's hard to decide which part of the table should be affected. So both detail information and total value are affected by RLS rule make sense.
In your scenario, the only way to work around this issue is suggested by ankitpatira, to create another table which doesn't apply RLS rule, and use this table to calculate total values.
Best Regards,
Qiuyun Yu