Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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.