PCompute issue in ctables

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

PCompute issue in ctables

morrison100
I am trying to use the pcompute utility in a CTABLE, but i face the following problem. The var I am using is continuous, and while i ask for ValidN and Sum,  the pcompute brings me the right numbers for ValidN but not for SUM...i.e

the PCompute is &x=EXPR([1]+[2]), and [1] is ValidN=2 sum=100. [2] is ValidN=3 sum='blank', the &x brings back ValidN=5 and sum= blank, while should bring 100...
Reply | Threaded
Open this post in threaded view
|

Re: PCompute issue in ctables

morrison100
As an answer to my question, I can say what I did...I transform all categories to a subtotal o f themselves, and then made any calculations needed...