Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
mario-sarkis
Creator II
Creator II

Average 90% Calculater in a pivot table

This my ROW data:

IDSegment Amount
1Medium1000
2Small300
3Small500
4Medium2000
5Small100
6Small200
7Medium500
8Small600
9Medium3000
10Medium2500
11small50

Detailed Calulation of the Average 90% Requested :

The Average Amount "1500" is calculated as (500+1000+2000+2500)/4=1500    (4 denomimator is the 90% of total nb of client wich is 5 )

IDSegment AmountTotal Nb of IDs90% of 5 Avg Amount
7Medium50054.51500
1Medium1000
4Medium2000
10Medium2500
9Medium3000

The Average Amount "1500" is calculated as (50+100+200+300+500)/5=230   (5 denomimator is the 90% of total nb of client wich is6 )

IDSegment AmountTotal Nb of IDs90% of 5 Avg Amount
11small5065.4230
5Small100
6Small200
2Small300
3Small500
8Small600

Final Output:

Output:Avg 90%MedianAvgMinMax
Medium 1500200018005003000
Small230250291.666666750600

gwassenaar  , dreamer4 qlikviewwizard  you can help

4 Replies
mario-sarkis
Creator II
Creator II
Author

sunny_talwar

Did you look at my response to your previous post?

Capture.PNG

mario-sarkis
Creator II
Creator II
Author

yes just saw it sunindia thank you so much

sunny_talwar

no problem

I hope this is what you were looking for.

Best,

Sunny