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

Growth Percentages

Hello all: I have a pivot table with years across top and weeks down the left side. I need to calculate a % of growth for each week/year combo. How is this accheived? I have tried befores and afters with different results, but not what I am looking for. Example

years 2005 2006 2007

Weeks

01 10 20 30

I need to see the growth between 2005 and 2006, then 2006 and 2007.by week

Thanks
Thom

1 Solution

Accepted Solutions
bismart
Creator
Creator

Year 200520062007
Month QtyVarianceVar%QtyVarianceVar%QtyVarianceVar%
01102010100%301050%
02610467%8-2-20%


Variance Expression : (Sum(Qty) - before(Sum(Qty)))

Var% Expression: (Sum(Qty) - before(Sum(Qty)))/before(Sum(Qty))

View solution in original post

4 Replies
Not applicable

Marking the checkbox "Relative" option is not available for Pivot Tables.

Regards

Eraaj

bismart
Creator
Creator

Year 200520062007
Month QtyVarianceVar%QtyVarianceVar%QtyVarianceVar%
01102010100%301050%
02610467%8-2-20%


Variance Expression : (Sum(Qty) - before(Sum(Qty)))

Var% Expression: (Sum(Qty) - before(Sum(Qty)))/before(Sum(Qty))

tmumaw
Specialist II
Specialist II
Author

Bismart,

Thank you very much. This was exactly what I was looking for. You have a great day.

Thom

Yes

tmumaw
Specialist II
Specialist II
Author

Good Morning Bismark,

I have another question for you. I need to do the same thing for customer counts, however this statement does not work any ideas? Thanks in advance.

Thom

(

Count (DISTINCT [Ship To]) - beforeCount (DISTINCT [Ship To]) / beforeCount (DISTINCT [Ship To]

)