Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
jozisvk11
Creator
Creator

Sum/total column in PIVOT TABLE

Hello,

Can somebody help me how can I add TOTAL column in PIVOT Table.

I have table:

ID          Hours (1.5.2017)      Hours(2.5.2017) ....               

10                    5                              8

12                    8                              12    

17                    11                              5    

19                    13                              6

....

And I need table:

I have table:

ID          Hours (1.5.2017)      Hours(2.5.2017) ....             TOTAL            

10                    5                              8                             13

12                    8                              12                             20

17                    11                              5                             16  

19                    13                              6                             19

....

Thank you for answer my question.

8 Replies
Anil_Babu_Samineni

Why can't partial Sum from presentation Tab

Or

Sum(TOTAL <Hours> Sales)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
qlikview979
Specialist
Specialist

Are you expecting like this

Untitled.png

qlikview979
Specialist
Specialist

PFA,

jozisvk11
Creator
Creator
Author

Yes, but I have only one column in expression.(SET analyse).  The amount of columns is not the same, that changing according to date.

tresesco
MVP
MVP

Have you tried enabling Partial Sum for your second dimension like:

Capture.PNG

qlikview979
Specialist
Specialist

Here my Dimensions are

1)ID,

2)Hours(1.5.2017)

3)Hours(2.5.2017)

Expression:-sum(Hours(1.5.2017))+sum(Hours(1.5.2017))


Untitled.png

jozisvk11
Creator
Creator
Author

partial sum is only for dimension.