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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pivot total sum and calculations

Hi,

I am new to QlikView.

I have a pivot table where you can select products and time. I do sum/totals pr. month as the grey below.

I would like to add 1 SUM across the selected time, in yellow (e.g. for the 3 months selected below).

Pivot.PNG

Later I would like to add more complex calculations e.g. growth pr. month (between the months) by calculating difference between current and previous months.

What to do?

1 Solution

Accepted Solutions
swuehl
MVP
MVP

You can add partial sums also to your pivoted Month dimension, go to presentation tab, select the appropriate dimension and enable 'Show partial sums' for each dimension, where needed.

To calculate growth, look into chart inter record functions, namely Above() / Below() resp. Before() / After() for pivoted dimensions.

Something like

=Sum(Value) / Before(Sum(Value)) -1

for Growth calculated respecting your pivoted Month.

View solution in original post

2 Replies
swuehl
MVP
MVP

You can add partial sums also to your pivoted Month dimension, go to presentation tab, select the appropriate dimension and enable 'Show partial sums' for each dimension, where needed.

To calculate growth, look into chart inter record functions, namely Above() / Below() resp. Before() / After() for pivoted dimensions.

Something like

=Sum(Value) / Before(Sum(Value)) -1

for Growth calculated respecting your pivoted Month.

Not applicable
Author

Absolutely fantastic! Thanks for the swift reply