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: 
julruiz123
Partner - Creator
Partner - Creator

Count number of records before date selected

Hi!

In the image there's a master calendar and a detail table, what I need is once a date is selected, it shows a chart with the number of records that have an earlier date.

img.png

Thanks!

1 Solution

Accepted Solutions
jagan
Partner - Champion III
Partner - Champion III

Hi,

Use the expression in straight table and hide this expression column in Presentation tab.

=Sum({<DateFieldName = {'<=$(=Max(DateFieldName))'}>} ColumnName)

Hope this helps you.

Regards,

Jagan.

View solution in original post

1 Reply
jagan
Partner - Champion III
Partner - Champion III

Hi,

Use the expression in straight table and hide this expression column in Presentation tab.

=Sum({<DateFieldName = {'<=$(=Max(DateFieldName))'}>} ColumnName)

Hope this helps you.

Regards,

Jagan.