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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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)

3 Replies
tresesco
MVP
MVP

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?

tresesco
MVP
MVP

Try:

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