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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Remove Nulls from a Summary Table

I'm trying to get a summary table set up so I can set up multiple charts

Issue I'm having is with this formula:

sum(Aggr([Working Days],[Employee Name],[Activity Date],[Start Date],[Job Title]))

My total results should be 726 - removing nulls from the Start Date.  If I have the Start Date Dimension, it works fine.  But in the Summary table with no dimensions, I get 728.  Testing the data, I have 2 rows with no Start Date.  I tried doing an extension of the expression (IsNull[Start Date])), expression) but get a 0 in return.

What else can I try?

Thanks.

Labels (1)
1 Solution

Accepted Solutions
spividori
Specialist
Specialist

Hi.

With the following test:

sum(if(num([Start Date])>0,Aggr([Working Days],[Employee Name],[Activity Date],[Start Date],[Job Title])))

Could you upload a sample to test.

Regards.

View solution in original post

4 Replies
Not applicable
Author

Try

if(IsNull[Start Date]<>0,sum(Aggr([Working Days],[Employee Name],[Activity Date],[Start Date],[Job Title])))

Rebeca

Not applicable
Author

I tried that and it comes back with a 0. 

spividori
Specialist
Specialist

Hi.

With the following test:

sum(if(num([Start Date])>0,Aggr([Working Days],[Employee Name],[Activity Date],[Start Date],[Job Title])))

Could you upload a sample to test.

Regards.

Not applicable
Author

Perfect.  Thanks!!