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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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.