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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
jagjivvt
Creator
Creator

Is Null with Set Analysis

Hi,

I am using the following expression but it does not provide any result.

round(count({$<Region ={'(=isnull())'} >} distinct EmpNo) / count({$<EmpNo >} distinct EmpNo),0.01)

if I use a if statement the it does, but need to use set analysis.

count(DISTINCT(if(isnull(Region)=-1, EmpNo, null())))/count(DISTINCT(EmpNo))

thanks

Vijay

3 Replies
sunny_talwar

Try this:

Round(Count({$<Region ={"=IsNull(Region)"} >} Distinct EmpNo) / count({$<EmpNo >} Distinct EmpNo), 0.01)


or


Round(Count({$<Region ={"=Len(Trim(Region)) = 0"} >} Distinct EmpNo) / count({$<EmpNo >} Distinct EmpNo), 0.01)

jagjivvt
Creator
Creator
Author

Hi Sunny,

thanks, but none of them give any result.

thanks

vijay    

sunny_talwar

Would you be able to share a sample?