Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Standard Deviation of Yearly Numbers

I have a complex pivot that produces annual ratios. I need to calculate the standard deviation of those ratios. Below is a sample of what the data looks like.

My pivot is like table 1, and uses as Sum(if(X,1,0)) construction for the numerator and a Sum(Total <A,B> if(X,1,0)) construction for the denominator. I can't share my actual data, so the below is sample ratios.

Table 1
ItemYearRatio 1Ratio 2
A20120.250.81
A20110.640.32
A20100.250.36
A20090.540.97
A20080.010.63
B20120.130.44
B20110.540.04
B20100.610.38
B20090.690.69
B20080.190.33
C20120.230.94
C20110.320.97
C20100.450.50
C20090.261.00
C20080.570.75
Table 2
ItemStDev AStDev B
A0.250.28
B0.250.24
C0.140.21
0 Replies