Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
PaulDBrown
Community Champion
Community Champion

Benchmarking with RLS

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!





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






1 ACCEPTED SOLUTION

@v-lili6-msft 

 

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.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

3 REPLIES 3
nawalmatarid
New Member

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.

v-lili6-msft
Community Support
Community Support

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

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-lili6-msft 

 

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.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.