Forum Discussion
Anonymous
7 years agoNot applicable
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...
- 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]))
Stachu
Community Champion
7 years agoSUMX 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]))
Anonymous
7 years agoNot applicable
Thank you so much!!! Worked like a charm