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
Anonymous
Not applicable

Row level secuirty from sql server to power bi desktop

Hi Team,

 

How to provide row level security to SQL Server and this security connect to power bi desktop?

 

Thanks

sreenivasa

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @kunuthuri

 

How do you connect with the data source? There are three ways: Import, DirectQuery, Live connection.

 

There are two scenarios about setting Row level Security in Power BI about SQL Server.

 

1. If you connect the data source with import or Direct query , you could create Roles in Power BI Desktop under the Modeling, Manage Roles.

 

For this scenario, you could refer to Dynamic Row Level Security and Row-level security (RLS) with Power BI.

 

2. If you work with Analysis Services Tabular model in Live connection, you should create roles in the tabular model, the detail steps you could refer to Dynamic row level security with Analysis services tabular model and this article.

 

Best Regards,

Cherry

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

Hi @v-piga-msft

 

Beyond the two scenarios that you described, could I connect my Power BI Desktop to a SQL database with RLS trough an SSAS model? I would like to know if I can use the impersonation on SSAS to get and pass the user to the database and filter the data according to my RLS rules.

 

Thank you,

Fred

So, 4 years later... did you fint a solution to this?

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.