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

12 MR Limitation

Dear,

I'm trying to obtain a 12 Months rolling Chart.

It works using a simple formula: RangeSum (above(sum(Unit), 0, 12))

The problem is that I don't have sales every months. The result is that I can't see a 12 Months rolling chart because qlik considers the last 12 months in which there was a sale (for example 16 months).

Can you explain me how can I solve this problem.??

I don't know anymore what I can do!!!... and I have to deliver my project....

Thanks in advance for your support

Lorenzo

3 Replies
Anil_Babu_Samineni

Create Master Calendar Generation Script and then use Same formula.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
juraj_misina
Luminary Alumni
Luminary Alumni

Hello Lorenzo,

you can for example generate missing months, so you'd have a record for all months, although in some months the sum sales would be equal to zero. Then you can turn on displaying zero values in the chart and your calculation would work.

Another option is to create The As-Of Table

Hope this helps.

Juraj

karthikoffi27se
Creator III
Creator III

Hi Lorenzo,

Please use below formula in calculated dimension field

if(Date#(Date("Yourfield",'MMM YYYY'),'MMM YYYY')>= addmonths(today(),-12), Date#(Date("Yourfield",'MMM YYYY'),'MMM YYYY'))

Many Thanks

Karthik