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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
HamidBee
Impactful Individual
Impactful Individual

When applying RLS (Row Level Security) which table do we apply it to?

Hi All,

 

I have a report that I am working on. I'm curious, when I create a role for the purpose of creating a Row Level Security do I apply to the filter to a fact table only, dimension table or it depends on the model?.

 

Thanks in advance. 

1 ACCEPTED SOLUTION
PijushRoy
Super User
Super User

Hi @HamidBee 

It depends on data model

If you have active relationship between DIM table and FACT table and
DIM table should filter FACT table.

 

If you implemented RLS in DIM table, FACT table automacially filtered by RLS

Appreciate your KUDOS/LIKE 👍, If solve your question, mark this answer as SOLUTION

Thanks
Pijush

View solution in original post

2 REPLIES 2
HamidBee
Impactful Individual
Impactful Individual

Hi. Thanks for clarifying this for me. 

PijushRoy
Super User
Super User

Hi @HamidBee 

It depends on data model

If you have active relationship between DIM table and FACT table and
DIM table should filter FACT table.

 

If you implemented RLS in DIM table, FACT table automacially filtered by RLS

Appreciate your KUDOS/LIKE 👍, If solve your question, mark this answer as SOLUTION

Thanks
Pijush

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.