Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

z-score in table object

Dear all,

I want to create a table - see image - which show the z-scores for each company (instead of the normal scoring which is currently in the table). Does somebody know the expression to get this done? I can't find it.

ps. z-scores describe the distance of the company score to the mean, expressed in standarddeviation.

Schermafbeelding 2011-11-30 om 21.00.36.png

Labels (1)
1 Solution

Accepted Solutions
johnw
Champion III
Champion III

This would be easier with an example file to play with, but let's see.  I'm guessing that each company has a single score?  So the mean (since you want it in the chart) is probably:

avg(total Score)

And the standard deviation is probably:

stdev(total Score)

And so your z-score would probably be:

(Score - avg(total Score))/stdev(total Score)

View solution in original post

3 Replies
johnw
Champion III
Champion III

This would be easier with an example file to play with, but let's see.  I'm guessing that each company has a single score?  So the mean (since you want it in the chart) is probably:

avg(total Score)

And the standard deviation is probably:

stdev(total Score)

And so your z-score would probably be:

(Score - avg(total Score))/stdev(total Score)

Not applicable
Author

Fantastic John, It works. Thanks for quick response.

jmmayoral3
Creator
Creator

Very good answer and very simple.

I have espent a lot of time searching a function which does a zcore in the documentation ofSense.