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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors