Forum Discussion
SUMX Function Degrading the Performance
- 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]))
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]))
Hello Stachu,
I have two tables like TBL and CUST. I have created the CUST table using the DAX.
- Stachu7 years ago
Community Champion
Tables and calculated columns are only calculated once, once you refresh the table that holds them - they are never changing based on the slicer/visual filters
if you want to have changing Grp then you need to use a measure instead of calculated column.
If you need help with that I'd suggest creating a new thread with samples from both tables, and marking this one as solved - helps to avoid the clutter on the forum, and may help other user with similar SUMX problems :)