Hi,
I have a pivot table that contains data calculated as:
- Sum(measure),
- Grouped by month (in the columns), and
- Grouped by category (in the rows).
I was able to obtain the column total, Total YTD, and the row total, Total, through the Show Total button (See Attachment 1).
Now, I need to add two more "Aggregated columns" to the pivot table:
- Total YTD previous year, which calculates the sum of the measure for the entire previous year.
- % Variations (Y2-Y1), which calculates the percentage difference between the total of Y1 and the total of Y2 (See Attachment 2).
Thanks in advance!
1
![deerio_0-1694699377856.png deerio_0-1694699377856.png](https://community.qlik.com/t5/image/serverpage/image-id/116320iF7B92E0755CBAC99/image-size/medium?v=v2&px=400)
2
![deerio_1-1694699377838.png deerio_1-1694699377838.png](https://community.qlik.com/t5/image/serverpage/image-id/116319i122995D87DF63E52/image-size/medium?v=v2&px=400)