Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello!
I’m trying to get to grips with RLS, and I have a question regarding benchmarking. If I have understood RLS correctly, when applied it filters the rows in the dataset to display data only related to the user assigned to that particular user. So how do you go about benchmarking? In other words, if you want to show performance (sales for example) compared to the user’s team or company (but in doing so, not allowing access to other individuals’ data), how do you set up RLS?
Thanks for the help!
Proud to be a Super User!
Paul on Linkedin.
Solved! Go to Solution.
Thank you for providing that link. It does provide a partial solution, but not what I need unfortunately (if indeed it will not update the totals/data using slicers).
There is however a link within that thread which does provide a solution, albeit cumbersome.
https://community.powerbi.com/t5/Desktop/Power-BI-Embedded-and-multitenant-support/m-p/97576#M41109
It involves duplicating the import of the data in the model but aggregating data using GROUP BY (or alternatively creating aggregate data table in the source dataset), and applying the RLS to the granular version of the dataset (not the aggregated version).
The problem with this is that the model then becomes bloated.
I’m surprised that it is not possible to set up RLS to return totals (by hierarchy) AND selective access to individuals' data?
Best,
Paul.
Proud to be a Super User!
Paul on Linkedin.
We are facing the same issue, we are trying to present users with their own data, their department , data, and the organization data as benchmark but the only was to do it so far is to load the table again. Let us hope a new update works on this. There has to be a more efficent way.
hi, @PaulDBrown
For your case, here is a similar post for you refer to:
https://community.powerbi.com/t5/Desktop/RLS-creating-a-measure-to-overide-RLS/td-p/37019
But with this workaround, the total value will not be filtered by other slicer.
Best Regards,
Lin
Thank you for providing that link. It does provide a partial solution, but not what I need unfortunately (if indeed it will not update the totals/data using slicers).
There is however a link within that thread which does provide a solution, albeit cumbersome.
https://community.powerbi.com/t5/Desktop/Power-BI-Embedded-and-multitenant-support/m-p/97576#M41109
It involves duplicating the import of the data in the model but aggregating data using GROUP BY (or alternatively creating aggregate data table in the source dataset), and applying the RLS to the granular version of the dataset (not the aggregated version).
The problem with this is that the model then becomes bloated.
I’m surprised that it is not possible to set up RLS to return totals (by hierarchy) AND selective access to individuals' data?
Best,
Paul.
Proud to be a Super User!
Paul on Linkedin.
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
63 |
User | Count |
---|---|
135 | |
126 | |
110 | |
70 | |
61 |