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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
mds166
Regular Visitor

Using/ disabling RLS in SSAS tabular source

Hi,

 

We are using an SSAS tabular model as a data source in the Power BI Service. We have a complex set of ELS requirements, which I've built in the model. This all works perfectly when users run the report- they can only see what they're allowed to.

 

I've now been asked to provide a solution that "disables RLS" for certain reports, ie to provide higher level figures/ analysis.

The only thing I could think of was to create a separate workspace and give users contribtor access...but that then means they can edit the report and view the entire model, so rules that out.

 

Other than that, my suggestion is that I change the model to add summarised tables that are not impacted by RLS.

 

So..is there a way of achieving RLS and non-RLS connections to the same SSAS tabular model (eg by setting up a separate gateway, dataset etc), or is the solution as above- change the model?

 

Thanks for any suggestions you can offer.

 

 

3 REPLIES 3
GilbertQ
Super User
Super User

Hi @mds166 

 

I would suggest creating the different tables, to try and combine this will add even more complexity.

 

I have made this in the past and it works quite well.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Thanks @GilbertQ . So you would create summary tables within the model? 

The other thought I had was to create a separate "non-RLS" model but obviously maintenance etc would seem to make that a bit of an overkill approach.

Yeah I would create a summary table. Way easier in my opinion





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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