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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Stdev, ignore dates with zero values

Hi,

I need to calculate the StDev of AMOUNT however when trying stdev(AMOUNT) I receive an incorrect value since it is also accounting for dates with zero values. I want it to calculate for dates with data only in my date range selection.

Any ideas?

Regards,

Olle

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

Maybe like

stdev({<AMOUNT= {"*"} >} AMOUNT)


or


stdev({<AMOUNT= {">0"} >} AMOUNT)

View solution in original post

2 Replies
Not applicable
Author

anyone?

swuehl
Champion III
Champion III

Maybe like

stdev({<AMOUNT= {"*"} >} AMOUNT)


or


stdev({<AMOUNT= {">0"} >} AMOUNT)