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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Qliksense Pie Chart: Excluding Null values

I have a pie chart showing the percentage of male/female answered our questionnaire, but there are some null values for some purposes, I tried to filter in the calculation field:

if([c-i-hh_gender]= Null() ,null(),count(KEY))

It didn't work for me.

P.S. I'm using Qliksense.

13 Replies
Not applicable
Author

Ralf, I don't use Sum, we use count of records in this situation as each record represents one person.

Thanks, -Hanan

rbecher
Partner - Master III
Partner - Master III

Of course, but if Gender is dimension why you would need a set analysis fiter?

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine
Not applicable
Author

Because I have NULL values or records without asking what is the gender of the person and that is done on purpose. So it means nothing to me if it says 10% Null value, I don't need this value, I need to deal with the gender value in a way which is different from the null value sample.

rbecher
Partner - Master III
Partner - Master III

Sure, but why not upload an example to get helped in the right way?

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine