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

Announcements
We are aware of an issue with the Product Downloads page and looking into it.
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewforum
Creator II
Creator II

stdev help!

How can I use STDEV on top of the below set analysis? Please help!

(SUM({<

Period = {'>$(=date($(VMaxPeriod)-$(VDays))) <=$(=date($(VMaxPeriod)))'}

  >}

    (Value/Limit))

)

/

count(distinct{<

Period = {'>$(=date($(VMaxPeriod)-$(VDays))) <=$(=date($(VMaxPeriod)))'}>} Period)

Labels (1)
3 Replies
tresB
Champion III
Champion III

Set analysis could be used in any aggregation function. So, you can use it similarly in stdev() as well as in sum().

qlikviewforum
Creator II
Creator II
Author

May I know what would be the change in above set analysis?

tresB
Champion III
Champion III

Try:

Stdev({<Period = {'>$(=date($(VMaxPeriod)-$(VDays))) <=$(=date($(VMaxPeriod)))'}>} (Value/Limit) )