If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.
Dears,
Kindly can any one help with this script to calculate 12 month sum
Sum({<[Month Date.autoCalendar.Year]=, [Month Date.autoCalendar.Month]=, [Month Date.autoCalendar.Date]={">=$(=date(MonthStart(Max([Month Date.autoCalendar.Date])),M/D/YYYY), -11))<=$(=Date(Max([Month Date.autoCalendar.Date]),M/D/YYYY))"}>} Qty )
The date in load editor is
SET DateFormat='M/D/YYYY';
check above.. check all internal sets some of them incorrectly parameterised .
what is error you are getting?
Hi,
it returns only the value of (=Date(Max([Month Date.autoCalendar.Date]),M/D/YYYY) not the sum of the range
check above.. check all internal sets some of them incorrectly parameterised .
Thanks alot,
It worked like a charm