Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
satya_s
Partner - Contributor III
Partner - Contributor III

Pivot Table - Display 'Totals' by Row

Hello,

In Qlik Sense, I am using the Pivot Table and would like to include a 'Total' Column which shows the totals by each row for the year-month figures as shown below. How can I achieve that?

satya_s_0-1706273544292.png

The Dimensions are SPProductCode, RoutingDestination, Column (Year-Month), Measure is Volume

I see a few responses where the solution is to add an expression, maybe something like 

Sum(Aggr(Sum(Volume), SPProductCode,RoutingDestination))

1. Is the above expression correct?

2. Where do I need to add the expression to get a 'Total' column which displays the sum of volume by  SPProductCode and RoutingDestination (for all Year-Month's)?

Thanks

Labels (1)
1 Solution

Accepted Solutions
Pierrick
Partner - Contributor III
Partner - Contributor III

Hello @satya_s,

You can just use your measure : Sum(Volume), and in your dimension Year-Month, you can check the box : Show totals.

Pierrick_0-1706278851287.png

 

View solution in original post

3 Replies
Pierrick
Partner - Contributor III
Partner - Contributor III

Hello @satya_s,

You can just use your measure : Sum(Volume), and in your dimension Year-Month, you can check the box : Show totals.

Pierrick_0-1706278851287.png

 

satya_s
Partner - Contributor III
Partner - Contributor III
Author

@Pierrick Thank you so much. That was easy !! Lot to learn..

Pierrick
Partner - Contributor III
Partner - Contributor III

No worries. There are a lot of little parameters to know, which come with experience!
Have a nice day!