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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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.