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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Counting records

I have a set of records a user has selected.  I want to take the field due date and count how many records in the current set will happen in 90 days, 60 days, 30 days, and are past due.

Thanks

~Norman Rea

4 Replies
maxgro
MVP
MVP

if I understand,

with a calculated dimension

=if(duedate<=Today(), 'past due', class(duedate-Today(),30) )

and count(duedate) as expression

1.jpg

Not applicable
Author

How would this work in a chart not a table.  I have a gauge I am using to display.

Not applicable
Author

Here is a image of what I am working withCapture.JPG

maxgro
MVP
MVP

stacked horizontal bar chart,

no dimension

4 expression

=count(if(duedate<=Today(), duedate))

=count(if(duedate>=Today() and duedate<(today()+30), duedate))

...

...

also with set analysis instead of if

1.jpg