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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
dd8zc
Helper I
Helper I

Optimizing Dataset Index (for RLS)

Is there any way to optimize or tweak indexes of a dataset? We want to tune it a bit for faster performance with RLS.

 

1 ACCEPTED SOLUTION
edhans
Super User
Super User

No, not like you can with an index for a table in a relational database. There are best practices for creating optimal fields to filter on. For example, using RLS to filter based on integers will be a little faster than text, but much better than large text fields, like GUIDs or anything over 20chars or so, because of the large data dictionaries produced.

Having a good star schema with narrow fact tables help too. Better compression, faster speed. To really dig in, chatpers 17 & 18 of the Definitive Guide to DAX will explain how the vertipaq enigine works, and what works well and what doesn't. So you won't optimize for RLS specifically, you will optimize the overall model, and RLS performance will benefit



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

1 REPLY 1
edhans
Super User
Super User

No, not like you can with an index for a table in a relational database. There are best practices for creating optimal fields to filter on. For example, using RLS to filter based on integers will be a little faster than text, but much better than large text fields, like GUIDs or anything over 20chars or so, because of the large data dictionaries produced.

Having a good star schema with narrow fact tables help too. Better compression, faster speed. To really dig in, chatpers 17 & 18 of the Definitive Guide to DAX will explain how the vertipaq enigine works, and what works well and what doesn't. So you won't optimize for RLS specifically, you will optimize the overall model, and RLS performance will benefit



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.