Forum Discussion

JRogersLebara's avatar
JRogersLebara
Frequent Visitor
3 years ago
Solved

DAX Performance Tuning - Income Statement (Third Attempt)

NOTE: I have posted this question twice before (2962974 and 2976244) but have not received a solution so far I have created an Income Statement using 'Financial Reporting Matrix' by ProfitBase (sc...
  • tex628's avatar
    3 years ago

    Hi JRogersLebara,

    First of all, the standard matrix visualization is almost exactly 3 times faster than the custom visual:


    I'm not familiar with this visual by profitbase, but if you can manage to produce the required report from the matrix instead you're cutting 2/3's of the loadtime. 

    Furthermore, i took a look into the calculations and it doesn't appear that any individual calculation is weighing things down. I would propose changing the background-structure to avoid the SWITCH/FILTER combination, as i would not expect this level of performance for 100K rows. 

    I'm usually running something along the lines of this:


    Which is then unpivoted in the transform so that both summarizations (gray) and rows can be mapped to a GL Account dimension table. 

    Hope this helps! 

    / J