Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
nishika
Partner - Contributor III
Partner - Contributor III

Rolling 12 month over Dimension in bar chart

I have used this Expression for rolling 12 Month over dimension, and Date field is in YYYY-MM format.

But when on Date selection suppose "2018-10"  then it will give all the values Before 2018-10 instead of only 12 month .

Rangesum(Above(Sum({<Date={">=$(=Date(AddMonths(Max(Date),-11),'YYYY-MM'))<=$(=Max(Date))"}>}[ACT@AR])
,0,RowNo()))

Labels (1)
1 Solution

Accepted Solutions
VaishnaviC
Contributor II
Contributor II

3 Replies
VaishnaviC
Contributor II
Contributor II

hope it helps!

VaishnaviC
Contributor II
Contributor II

not able to put  the formula directly, as having issue while posting

nishika
Partner - Contributor III
Partner - Contributor III
Author

Hi Vaishnavi,

Great formula is working 🙂