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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count difference

Hi,

I have data and wanted to show count of dates if SoldAmt >0 or NULL. If I select any date and count should not consider the selection like ignoring.

Attached data is the example and count value should be 50, but when I use this function I get 52

=NUMericCOUNT({<WeekDate=>}SoldAmt)

Can you pls suggest.

Thanks,

1 Solution

Accepted Solutions
JonnyPoole
Former Employee
Former Employee

Here is a formula that will work for you:

=sum( {$<WeekDate=>} if (aggr( sum( {$<WeekDate=>} SoldAmt), WeekDate)>0,1))

Capture.PNG.png

View solution in original post

2 Replies
JonnyPoole
Former Employee
Former Employee

Here is a formula that will work for you:

=sum( {$<WeekDate=>} if (aggr( sum( {$<WeekDate=>} SoldAmt), WeekDate)>0,1))

Capture.PNG.png

Not applicable
Author

It is working as expected and good solution.

Thanks,