Forum Discussion
Esmee
8 years agoFrequent Visitor
Earlier function with large dataset
Hi! I have a large dataset about 3M records which looks like this: campaignID persoon date amount number 1 a 3-6-2016 1 0 1 b 3-6-2016 1 1 1 c 3-6-2016 1 0 2 ...
- Anonymous8 years ago
Hi Esmee,
Please remove 'person' filed and try to use below formula:
measure = CALCULATE ( SUM ( Blad1[amount] ); FILTER ( ALL ( Blad1 ); Blad1[date] < MAX ( Blad1[date] ) && Blad1[persoon] IN VALUES ( Blad1[persoon] ) ) ) + 0Regards,
Xiaoxin Sheng
Anonymous
8 years agoNot applicable
Hi Esmee,
Please remove 'person' filed and try to use below formula:
measure =
CALCULATE (
SUM ( Blad1[amount] );
FILTER (
ALL ( Blad1 );
Blad1[date] < MAX ( Blad1[date] )
&& Blad1[persoon] IN VALUES ( Blad1[persoon] )
)
)
+ 0
Regards,
Xiaoxin Sheng
Esmee
8 years agoFrequent Visitor
Thanks! It works!