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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors