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
ani_informa
Helper III
Helper III

Report performance with Row level security

Hi 

 

I have a requirement of row level security in my Power BI report. I have fact table "Sales" with more than 10 million rows. There is a dimension table named "DimStore" and it contains unique row for each store (StoreKey) and there are 2K unique storekey rows in dimension table. My StoreUserBridge table contains 2000 * 5000 users = 10,000,000 rows.

 

I want every store user should be able to see data belongs to their store only and that's the intend behind using row level security. I just wanted to know whether fact table with more than 10 M rows, StoreUserBridge with 10,000,000 will impact the report performance or not ?

 

Is there any document, post available that can provide the benchmark, pros n cons of using row level security

2 REPLIES 2
clintgroove
Microsoft Employee
Microsoft Employee

I'm not sure if you have come across this article but it's worth mentioning. 

Making sure your model is optimised is obviously step number 1 as RLS applies filters in dax queries in the background

Row-level security (RLS) guidance in Power BI Desktop - Power BI | Microsoft Docs

Anonymous
Not applicable

Hi @ani_informa,

I do not so recommend you to create 'one: one' mapping RLS for the ultra-large amount of records, it obviously will affect the performance due to duplicate records.

I searched for power bi relationship bi but not found documents that mentioned how to mapping rows without affect performance.
Since power bi data model stored data at AS instance, maybe you can take a look at AS tabular model RLS related document:

Optimizing RLS performance with the Query Store 

In addition, you can also consider creating a weak relationship mapping between user and store, then you can add filters and conditions in your RLS expression to help to map records more accurately.

Relationships in analysis services tabular models  

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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