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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
SergiiR
Frequent Visitor

Reducing model size by 83% (Patrick / GIAC) -- how??

Hi, wizards 😃

Recently I watched a life-hack video from Patrick LeBlanc (from Guy in a Cube) on model size optimization. He reduced size of the model by 83% with no touching of granularity. ...  ............ ??

I remember watching another video from another Whale of Power BI data modeling -- Alberto Ferrari (from SQLBI) on the similar topic... yet he mentioned that no significant difference was found in changing data type from date to integer or back.

 

I really cannot get what's the trick behind Patrick's optimization, but as you can see on the scheme below, he really didn't touch the granularity. Yet he did split the datetime column to date and time columns (on this stage he received no significant impact) and created Dim Tables for them, using Surrogate Keys with the data type of integer (this was the stage where the model size collapsed)

Patrick' Optimization.jpg

 

So my question is how is this possible?... what was the reason for model size collapsing? 

 

Thanks in advance for any hints and explanations!

2 REPLIES 2
SergiiR
Frequent Visitor

@amitchandak 
Thanks for your suggestion, yet it was not the case in this particular issue. There is a link to the video in the initial message, you can observe all steps that were done by Patrick.... 

Yet thanks again for suggestion!

amitchandak
Super User
Super User

@SergiiR , Can you also disable auto date hierarchy and check

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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