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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
mattkocak
Kudo Kingpin
Kudo Kingpin

Does Row-Level Security Always Decrease Performance?

The Row-level security (RLS) guidance in Power BI Desktop article mentions the potential negative performance impacts in reports. Is there only the potential for a negative performance impact, though? Could there also be the potential for a positive performance impact?

 

For example, if there are 10,000 rows in a table, but a user only has access to 1,000, then would Power BI run all of its queries against only those 1,000 rows? Or does it run the queries against the 10,000 rows with additional filters that decrease the performance.

 

The Avoid using RLS section in the article talks about splitting up the model and using different workspaces instead of RLS. Here it states:

 

There are several advantages associated with avoiding RLS:

  • Improved query performance: It can result in improved performance due to fewer filters.

 

This makes me think that the all 10,000 rows in my hypothetical example would be evaluated and thus performance would not improve, but I wanted to reach out and verify this.

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @mattkocak ;

For example, if there are 10,000 rows in a table, but a user only has access to 1,000, Then would Power BI run all of its queries against only those 1,000 rows? Or does it run the queries against the 10,000 rows with additional filters that decrease the performance.

I think it runs the queries against the 10,000 rows with additional filters,

 

For avoiding RLS:
Maybe it refers to two datasets. For example, A dataset of 10 million lines has two roles. Then, only the remaining data of A should be filtered out at the beginning of data import and publish to A workspace. Secondly, filter out B's data and publish it to B's workspace, so that the performance will be better. So only for a small number of characters.


Best Regards,
Community Support Team _ Yalan Wu
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
mattkocak
Kudo Kingpin
Kudo Kingpin

Test comment

v-yalanwu-msft
Community Support
Community Support

Hi, @mattkocak ;

For example, if there are 10,000 rows in a table, but a user only has access to 1,000, Then would Power BI run all of its queries against only those 1,000 rows? Or does it run the queries against the 10,000 rows with additional filters that decrease the performance.

I think it runs the queries against the 10,000 rows with additional filters,

 

For avoiding RLS:
Maybe it refers to two datasets. For example, A dataset of 10 million lines has two roles. Then, only the remaining data of A should be filtered out at the beginning of data import and publish to A workspace. Secondly, filter out B's data and publish it to B's workspace, so that the performance will be better. So only for a small number of characters.


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

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors
Top Kudoed Authors