cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Anonymous
Not applicable

Reduce Cardinality on an Index

Are there any tricks to reduce cardinality on an index? 

 

I have a table thats 8m rows, and the index is 9% of the entire model. I need the index to link to two copies of the table, as I need to manage the columns seperately through RLS (OLS will not work, as it does not allow for users to be in multiple roles like RLS does).

 

Appreciate the index is unique by design, but have seen tricks around taking max and min % of index, but this wont work as I need to use relationships on the tables once they load.

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@Anonymous 

Is your index an integer value?  Those are smaller to store if you can have the engine store using value encoding.  

Also, disable the 'Available in MDX' property of the column so the model does not build the hierarchy.  You can disable this using Tabular Editor from SQLBI.
https://www.sqlbi.com/tools/tabular-editor/

 

View solution in original post

3 REPLIES 3
jdbuchanan71
Super User
Super User

@Anonymous 

Is your index an integer value?  Those are smaller to store if you can have the engine store using value encoding.  

Also, disable the 'Available in MDX' property of the column so the model does not build the hierarchy.  You can disable this using Tabular Editor from SQLBI.
https://www.sqlbi.com/tools/tabular-editor/

 

Anonymous
Not applicable

This worked so well. Thanks so much for this - complete gamechanger! 

Anonymous
Not applicable

thanks for the reply! yep its an integer. i've not heard of available in MDX though, but looks promising so will try that!

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors