Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

i want sum of total instead of avg.

hai Guys, i want  sum of total instead of avg..

here i attach that file.

pls send expression for ( OP Column).

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Hi,

watch out for topic sum of rows in pivot table in the help file.

You probably need something like

=sum(

aggr(

(SUM(IF(SDOC < STARTDATE AND (SPGROUP = 'RAW MATERIAL' OR SPGROUP = 'SEMI FINISHED GOODS'),

(SREC*SWEIGHT-SMIN*SWEIGHT)/1000,0))/2),

PROW,PDESCRIPTION,PRODUCTID)

)

Regards,

Stefan

View solution in original post

2 Replies
swuehl
MVP
MVP

Hi,

watch out for topic sum of rows in pivot table in the help file.

You probably need something like

=sum(

aggr(

(SUM(IF(SDOC < STARTDATE AND (SPGROUP = 'RAW MATERIAL' OR SPGROUP = 'SEMI FINISHED GOODS'),

(SREC*SWEIGHT-SMIN*SWEIGHT)/1000,0))/2),

PROW,PDESCRIPTION,PRODUCTID)

)

Regards,

Stefan

Not applicable
Author

thank u.....