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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register 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
Community Champion
Community Champion

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
Community Champion
Community Champion

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.