Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

SUMX Function Degrading the Performance

Hello, I am using a SUMX function in one of my calculation. It is completely degrading the performance of visual. Here is my calculation: Dummy = CALCULATE(               SUMX(DISTINCT(TBL[Accou...
  • Stachu's avatar
    7 years ago

    SUMX is iterator, that's why it's so much slower

    how about the one below for your Dummy measure

    CountUnique = COUNTROWS(SUMMARIZE(TBL,TBL[Account Name],TBL[SaleType]))