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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression: If statement

Under Data>Measure>Expression need If statement that will look at established variables and allow for selection of Sum or Median formula. 

3 Replies
sunny_talwar
MVP
MVP

Not really sure what you want, but may be something like this:

If(vVar = 1, Sum(Field), Median(Field))

Not applicable
Author

I will try this and let you know

sunny_talwar
MVP
MVP

Okay, if it doesn't work, please provide more details of what you want.