Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

wanyunyang
Contributor

Two formulas comparison

Hi guys,

I'm new to Qlik Sense. What is the difference between:

COUNT(IF(value=20,value))

and

COUNT({<value={"20"}>}value))?


Thanks for help!

1 Reply
h_prakash
Contributor

Re: Two formulas comparison

COUNT(IF(value=20,value))


In this it wont create a subset where value = 20 so in the above expression it will count null values.


COUNT({<value={"20"}>}value))

It will create a exact subset and it will count where that condition satisfies.


Hope this helps

Community Browser