Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

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
MVP
MVP

Re: Expression: If statement

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

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

Not applicable

Re: Expression: If statement

I will try this and let you know

MVP
MVP

Re: Expression: If statement

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