Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to display rolling 13 months in the line chart

If i have a date column and i have to show rolling 13 months in the line chart. here my question is how to limit to show for that 13 months.

4 Replies
Clever_Anjos
Employee
Employee

You can use an expression that returns only data from last 13 months

sum({<DateField={">=$(=date(addmonths(Max(DateField)),-13) <= >=$(=date(Max(DateField))"}>}Value)

maxgro
MVP
MVP

Anonymous
Not applicable
Author

i will try and get back to you. thanks for your quick respond .

Anonymous
Not applicable
Author

Hi Massimo,

Thanks a lot for your help. Let me check and i will udpate this Discussion.