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: 
razvan_brais
Creator III
Creator III

Line chart between two dates

Hy guys.

I would like to create a line chart for a KPI that shows values between two dates.
Those dates are the first day of the month selected and the selected date.

I have tried something like this but it didn`t work

Sum({<DATE={">=$(vMonthStartCS)<=DATE"}>}VALUE/Divider)

vMonthStartCS = date(monthstart(date(DATE,'DD-MM-YY')),'DD-MM-YY')

Do you have other suggestions?

Please help.

Thank you

1 Solution

Accepted Solutions
sunny_talwar

Try this

Sum({<DATE={"$(='>=' & Date(MonthStart(Max(DATE)), 'DD-MM-YY') & '<=' & Date(Max(DATE), 'DD-MM-YY'))"}>} VALUE/Divider)

View solution in original post

2 Replies
sunny_talwar

Try this

Sum({<DATE={"$(='>=' & Date(MonthStart(Max(DATE)), 'DD-MM-YY') & '<=' & Date(Max(DATE), 'DD-MM-YY'))"}>} VALUE/Divider)

razvan_brais
Creator III
Creator III
Author

Thank a lot , this is what I needed.