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

Moving Average

Hi,

I have a line diagram with the dimension year - month.
Formula is ….
Dual(Num(YEAR([DATE]),00)&' - '&MONTHNAME,Num(YEAR([DATE]),00)&NUM(Month([DATE]),00))

If I now show the sum over several years, that fits "normal" buzz correctly.
Formula is ....
Sum(Price)

 

qlik_sum.JPG

 

 




When calculating the moving average, the display shows no result. Is empty.
Formula is .... Aggr(RangeAVG(Above(Sum({<BELEGTYP={'RE'}>}GESPREISNETTO),0,RowNo())),Num(YEAR([DATE]),00)&' - '&MONTHNAME)

Where is my mistake here? I can not find anything there.

3 Replies
danilostochi
Creator II
Creator II

Hi, could you post .qvf?

+55(44) 9 9993-3605, WhatsApp
E-Mail or Skype - danilo16stochi@hotmail.com
martinr_
Creator
Creator
Author

Hi, here is the qvf file.

martinr_
Creator
Creator
Author

Can someone help me, I have not found a solution yet.