帮小弟我看下这句话的意思

帮我看下这句话的意思
cumulativeSum( if( phone [-1] = phone [0],0,1) for all )

------解决方案--------------------
而你上面的意思是指的如果phone重复的话,累计数为0,否则为1,
所以最终得到的是不重复的phone的个数;
CumulativeSum很实用的,一般用于累计和,显示到当前列为止的指定列累计;
如果列值为
n_qty
1
3
5
如果n_sum为CumulativeSum(n_qty)的话,其值为
n_qty n_sum
1 1
3 4
5 9

------解决方案--------------------
2樓正解

CumulativeSum DataWindow expression function
Description 

Calculates the total value of the rows up to and including the current row in the specified column (a running total).
------解决方案--------------------
探讨
cumulativeSum( if(  phone  [-1] =  phone  [0],0,1) for all )