Forum Discussion

kaarel's avatar
kaarel
Icon for Resolver I rankResolver I
9 years ago

Large Table and Matrix resultset crashes/slow SSAS multidimensional performance

Hi!

 

I stumbled upon a problem with SSAS live multidimensional connectivity when there are many columns in Table or Matrix with large resultset, then it crashes or is very slow. It eats up all the ram in server trying to render the result...

 

The reason is how multidimensional SSAS works with large flat resultsets. Is is described in here... Apparently it is fixed in Excel 2016, but not in Power BI.

 

https://blog.crossjoin.co.uk/2016/07/08/excel-2016-pivottable-mdx-changes-lead-to-big-query-performance-gains/

 

The solution is to disable totals and use some other element to show total values.

 

 

Hope it helps someone...

 

BW,

Kaarel.

6 Replies

  • v-sihou-msft's avatar
    v-sihou-msft
    Icon for Microsoft Employee rankMicrosoft Employee

    kaarel

     

    I have seen the generated extra query in SQL Profiler trace.

     

    Without Total enabled:

     



    With Total enabled:

     

     

    We have reported this issue internally.

     

    Regards,

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi kaarel,

       

      Thanks for your post. When I finally found it, after a lot of frustrations, it was the answer to my question. 

       

      My reports which included large tables continuously loaded and led to full RAM on our server, and eventually wouldn't even load the data. After deselecting the totals for the big tables this issue was resolved. 

       

      Kind Regards, 

      Paul

  • Anonymous's avatar
    Anonymous
    Not applicable

    kaarel This help me a lot!

     

    I don't why, this is still happening.

    I had to disable the "Totals", and then it was really faster!

    It didn't fixed yet?

     

    v-sihou-msft  can you help us?

     

    Thank!