Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear Qlikview community,
As mentioned in my previous post, i'm new in qlikview and I need your help to achieve below calculation
Here is the formula using excel
=COUNTIFS(B13:B20,"A",C13:C20,"")
Count nationality if it's A and the final process is null
Here is the sample data
Nationality | Final Process |
a | |
a | |
A | |
b | |
3 |
I appreciate your help
What about:
Count(if(Upper([Nationality])='A' AND IsNull([Final Process]), Nationality))
Hi,
Post your sample data and required output!
-Hirish
May be this:
Count({<Nationality = {'a', 'A'}, [Final Process] = {"=Len(Trim([Final Process])) = 0"}>} Nationality)
Thanks Sunny,
It says error in expression.
Final Process is null and not 0.
Count nationality if it's A and the final process is null
Based on my above example, the answer is 3
Is there any other solution
Hi Hirish,
Below is my sample data:
Nationality | Final Process |
a | |
a | |
A | |
b | |
3 |
=COUNTIFS(B13:B20,"A",C13:C20,"")
Count nationality if it's A and the final process is null (and not 0)
The answer is 3
Hi,
I keep getting error in expression. Reference to above:
Count(if([Nationality]='A,a' AND IsNull([Final Process]) Nationality))
Can you share a sample to show where exactly it isn't working?
Hi CJ,
y don't you try like below?
script : Upper(UserName) as UserName
then select the nationality as A or a both are same
and in text box expression is like =count(UserName)
What about:
Count(if(Upper([Nationality])='A' AND IsNull([Final Process]), Nationality))
=count( if(lower(Nationality)='a' and len(trim([Final Process]))<=0,Nationality,null()))