cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WVonk Frequent Visitor
Frequent Visitor

Composite model slow vs fast

Hi!

 

I'm testing the composite model for a business issue for a customer of ours.

 

Situation:

 

DQ:

1 Fact table with 174 rows

 

In memory:

dimension Debtor: 7750 rows

dimension Part: 60000 rows

 

the relations are made with integer keys. Both are Many to One (Single).The measure is a simple sum of a amount collumn. 

 

Everyting out of the Part dimension i throw against this measure is fast and snappy! But when is use the Debtor dimension (much smaller) it sometimes takes more then 20 seconds for a simpe sort. I can't get my head around this, why is de larger dimension much faster then the smaller one?

 

Anyone any idea? 

 

 

 

 

 

2 REPLIES 2
Community Support Team
Community Support Team

Re: Composite model slow vs fast

Hi @WVonk,

 

If I understand your sceanrio correctly that the dimension Part runs fast than the dimension Debtor?

 

If it is, I'm afraid that the performance will be affected by many factors. If you have more columns of dimension Debtor then the dimension Part, the performance of dimension Debtor will be bad than the dimension Part.

 

In addtion, the complex of the measure will also affect the performance.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
WVonk Frequent Visitor
Frequent Visitor

Re: Composite model slow vs fast

Hi @v-piga-msft 

 

Thats correct, the Part dimension is always much faster than the debtor. Even when i only load 1 collumn from the Debtor dimension. 

 

I found out that when switch all three tables to DirectQeury, it's all fast. When i switch the Fact to DQ everything with the Debtor dimension is slow. 

 

In Dax studio, a simple sum measure. With the PartID around 60 milliiseconds and with the Debtor ID around 800 ms tot 33 seconds. 

 

Is there anything i can futher investigate regarding this? 

 

 

 

 

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)