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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
AmiraBedh
Resident Rockstar
Resident Rockstar

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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