Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Partial average.

Hello all, I am lee.

  • I want to have partial average instead of partial sums    in example format.

I attached example.

please let me know.

Thank you so much

12 Replies
Not applicable
Author

Im lee

Example here

SunilChauhan
Champion II
Champion II

use expression as

sum(TAT)/Count(distinct TAT)

or

sum(TAT)/Count(TAT)

hope this helps

Sunil Chauhan
JonnyPoole
Former Employee
Former Employee

I divided by the number of FABOUT_TM (top screenshot)  and combination of FABOUT_TM and STAT_AREA (below screenshot)

Above:   sum(TAT)/ count( DISTINCT FABOUT_TM)    ...partial row averages and column totals

Below:  sum(TAT)/ count( DISTINCT FABOUT_TM&STAT_AREA)   ...partial row averages  and column averages

Capture.PNG.png

Not applicable
Author

could you give me . example qvw. file  please~

JonnyPoole
Former Employee
Former Employee

here is the qvw

SunilChauhan
Champion II
Champion II

see the modified qvw attached by you

Sunil Chauhan
Not applicable
Author

Thank you Poole~

but how FABOUT_TM is same and different LOT?

isn't it Wrong using DISTINCT function?

sujeetsingh
Master III
Master III

There are two things:

Straight table provide options to define a expression for total

Pivot table do not provide such option hence if you are having average in your expression the pivot total will use the same expression to calculate the totals.

SunilChauhan
Champion II
Champion II

distinct will take single ocuurance  of partiuar

where as if you want to count all

use Count(FABOUT_TM )

Sunil Chauhan