Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Run off/ Formulas/ Aggr

Hi All

I have a problem and i need some help.

I have a graph which shows me the Full accumulation of payments over a year month on month.

Below is the graph which is aggr and the table which shows payments over the month.

Pivot.png

Graph.png

The above is all working.

Now i want to divide each months figures by the Aggr payments as at Dec 2010.

The figure is £90,561,496.

I want to find out the % difference month on month from Dec 2010

So in excel it looks like this and plots on a graph like this.

PY End IncurredJanFebMarAprMayJunJulAugSepOctNovDec
£90,561,496£1,107,281£6,632,026£8,534,827£9,130,061£9,935,255£9,672,376£7,921,965£9,096,020£7,452,823£7,268,099£6,583,660£4,669,549
1.22%7.32%9.42%10.08%10.97%10.68%8.75%10.04%8.23%8.03%7.27%5.16%
=D47/$C$47=D47/$C$48=D47/$C$49=D47/$C$50=D47/$C$51=D47/$C$52=D47/$C$53=D47/$C$54=D47/$C$55=D47/$C$56=D47/$C$57=D47/$C$58

Graph 2.png

Now I got the £90,561,496 by taking it from a list of payments which is the sum of all the payment amounts in the sheet


IDPayment Amount
803148-G5812900
834398-G3500000
669429-G3480580
733840-G3180981
726830-G2500000
573898-G2306836
169199-G2069818
733465-G2018582
409757-G1941109
708244-G1833551
593357-G1743031
643704-G1666102
682705-G1343976
478096-G1313042
439997-G1310626


So my thoughts would be that i would write a separate expression to sum the above to get the £90,561,496 then dived the two expressions by each other.


But when i do this it doesn't plot on the graph correct.

Here is my formula

Graph 3.png

Can anyone help...

1 Reply
giacomom
Partner - Contributor III
Partner - Contributor III

Hi Andrew,

try with this formula instead:


=Aggr(sum({$ <FinYr={2011}>} FinAmt), FinMth) / sum(PY4_PY_End_Incurred)

and let me know if it works.

Giacomo