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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Kylerose9
Contributor
Contributor

Median Case When

I'm trying to have my table calculate the median order value, but only when orders are greater than £0. How would I set up my formula to do this?

1 Reply
mato32188
Specialist
Specialist

Hi @Kylerose9 ,

try something like this:

median( { < yourField = {">0"} > } yourField)

or

median( { < yourField = {"=sum(yourField)>0"} > } yourField)

Thanks.

br

m

ECG line chart is the most important visualization in your life.