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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Row Level Security - Step by Step Process

Hi Experts,

 

Just wondering if you could please help me direct to any online resources which demostrate the step by step process of implementing the row level security using the SQL Server database tables, particularly users table.

 

I am looking at filtering the data based on the user geographical area level access with geographical heirarchy, like sector, division and zone etc.

 

Appreciate any inputs.

2 REPLIES 2
v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

About Rls ,You can see the official article, it tells:

You can configure RLS for data models imported into Power BI with Power BI Desktop. You can also configure RLS on datasets that are using DirectQuery, such as SQL Server. For Analysis Services or Azure Analysis Services lives connections, you configure Row-level security in the model, not in Power BI Desktop. The security option will not show up for live connection datasets.

So, in my opinion, it makes no difference if the data source is in sql or in excel, import, direct can also be configured with rls. And the step by step process , the  official article link I shared with it,you could refer.

And about RLS With Hierarchies ,you could refer the following vidio(it with detail operation):

https://www.youtube.com/watch?v=oPwDkgPU9uc 

 

And I find another case about   RLS With Hierarchies, you could refer it:

https://community.powerbi.com/t5/Desktop/RLS-Hierarchy-TEXT/m-p/2011273  

 

 

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


Best Regards

Lucien

Anonymous
Not applicable

Hi @v-luwang-msft 

Thank you very much for your reply. Appreciate it.

However, the links you shared shows the examples around the staff hierarchy with the staff and their managers.

 

My scenario is based on the Geographical hierarchy. Below is the structure of my user table I have.

The highest level in the hierarchy is Divsion and then Sector and then zone and then lowest is station.

 

In the below example, staff S123 should have access to only one station (Station1) under Sector1.

Then everything under sector Sector2 and everything under Division2.

 

Appreciate if there is an example with this scenario.

 

Appreciate any help here.

 

 

StationZoneSectorDivisionEmailStaffID
Station1Zone1Sector1Dvision1staff1@company.comS123
**Sector2Division1staff1@company.comS123
***Division2staff1@company.comS123

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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