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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
AmiraBedh
Most Valuable Professional
Most Valuable Professional

Implementing RLS/DRLS in SSAS Tabular vs Power BI ?

I want to know the difference between implementing RLS or DRLS in SSAS vs Power BI.

If we are implementing it in SSAS tabular should we implement it in the Power BI also ?

We are using an SSAS tabular cube as a datasource for our Power BI report.


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696
1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @AmiraBedh 

 

1. When using Live Connection mode to connect to SSAS, Manage Roles function in Desktop can not be used, only RLS in SSAS will be used at this time. When using import mode to connect to SSAS, data will be imported from SSAS, but RLS will not be imported, you can manage roles in Desktop.


2. The RLS created in Desktop is a row-level RLS; you need to create roles in Desktop and add members to the roles in Service; you need to view the users of the reports with RLS set in Service as Read-only or Viewer members of the workspace; the RLS set in Desktop constrains the users' access to the table Data access.


The RLS created in SSAS is a role-level RLS; the creation of roles and the addition of role members are done in SSDT or SSMS; the user who sets up the RLS report in Service needs to have Read access in the model; the RLS created on the SSAS model constrains the access to the data of this SSAS instance.


This is the relevant document, hope to help you:

https://docs.microsoft.com/power-bi/admin/service-admin-rls 

https://docs.microsoft.com/power-bi/connect-data/desktop-tutorial-row-level-security-onprem-ssas-tab... 

 

Best Regards,

Community Support Team _Charlotte

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

View solution in original post

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @AmiraBedh 

 

1. When using Live Connection mode to connect to SSAS, Manage Roles function in Desktop can not be used, only RLS in SSAS will be used at this time. When using import mode to connect to SSAS, data will be imported from SSAS, but RLS will not be imported, you can manage roles in Desktop.


2. The RLS created in Desktop is a row-level RLS; you need to create roles in Desktop and add members to the roles in Service; you need to view the users of the reports with RLS set in Service as Read-only or Viewer members of the workspace; the RLS set in Desktop constrains the users' access to the table Data access.


The RLS created in SSAS is a role-level RLS; the creation of roles and the addition of role members are done in SSDT or SSMS; the user who sets up the RLS report in Service needs to have Read access in the model; the RLS created on the SSAS model constrains the access to the data of this SSAS instance.


This is the relevant document, hope to help you:

https://docs.microsoft.com/power-bi/admin/service-admin-rls 

https://docs.microsoft.com/power-bi/connect-data/desktop-tutorial-row-level-security-onprem-ssas-tab... 

 

Best Regards,

Community Support Team _Charlotte

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

amitchandak
Super User
Super User

@AmiraBedh , I think in the case of SSAS tabular live correction you need to implement it at the source.

In case of import or direct query, you need to do it on power bi.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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