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: 
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.