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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
alisonpwallis
Creator
Creator

Percentage Change in tables

Dear All

I have a straight table that does some basic calculations. What I am calculating is usually just the sum in each case and I show the subtotals. One of my dimensions is year and the purpose of the table is to compare year on year.

DeptProposed Year of EntryTotalStatus 1Status 2Status 3Status 4
168099204121080225
Dept 1201516622333785563282
Dept 1201415473624194273734
Dept 1201314391938001863535
Dept 22015166394311473
Dept 22014159199802121
Dept 2201314363335501

These are not the real figures.... and they don't add up here!

I want to show percentage change between 201516 and the two previous years. I've tried using 'below' and this works great for comparing one year to the year below BUT I want to compare 201516 and 201314 as well as 201516 and 201415 and I can't get this to work. This is my calculation for the one below which does work. How would I compare to two below? I've tried putting in -2 instead of -1 but this doesn't work.

=(sum({$<[Exclusions]={'0'}>}[FTE])/below(sum({$<[Exclusions]={'0'}>}[FTE])) -1)

I've also tried creating a separate chart which just does the comparisons for each status individually BUT I can't get these to show as percentage change so they come out as 110% and 127% which I don't want.

=sum({$<[Exclusions]={'0'},[Proposed Year of Entry]={'201516'}>}[FTE])/sum({$<[Exclusions]={'0'},[Proposed Year of Entry]={'201415'}>}[FTE])

Any ideas on how to use below differently? Or on how to present percentage change properly in the ?

Thanks

Alison

Labels (1)
0 Replies