Forum Discussion
Calculated column throws not enough memory error! any Smart alternates to approach this ?
- Anonymous8 years ago
So after few failures i found this is the best way to do it, created new table with only 3 columns and used the same DAX calculation and it refreshes in less than 30 sec.
Cheers
Van
Have you tried to remove the filters?
Column = VAR rule1=CALCULATE(COUNTROWS(Table1),ALLEXCEPT(Table1,Table1[cust_num]),Table1[order date]<earlier(Table1[order date])) VAR Calc=CALCULATE(min(Table1[order date]),ALLEXCEPT(Table1,Table1[cust_num]),Table1[order date]<earlier(Table1[order date])) VAR rule2=if(NOT(ISBLANK(Calc)),DATEDIFF(Calc,Table1[order date],DAY)) RETURN IF(OR(rule1=0,rule2>100),"New","return")
Thanks for our reply, Yes i did try removing filters, no luck. I cant believe this calculation is talking up 16 GB!
There should be something that i can tune , ill update if I find any solution.
Thank you
Van
- Anonymous8 years agoNot applicable
So after few failures i found this is the best way to do it, created new table with only 3 columns and used the same DAX calculation and it refreshes in less than 30 sec.
Cheers
Van
- Anonymous5 years agoNot applicable
Hi Van,
I realize this was a while ago, but I am facing the same issue now. What columns did you use for your new table and did you join it to your original table?