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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
aljaztoman
Contributor II
Contributor II

Getting a Column SUM in a Chart Table

Dear all,

Is there a way to use a function to get the sum of a specific column in a chart table?

As shown below, the dimension is the different persons, and columnA is a calculated measure for each dimension entity. In columnB I want to get the SUM of the previous column.

qlik_table.JPG

Thank you in advance

1 Solution

Accepted Solutions
aljaztoman
Contributor II
Contributor II
Author

I have found a solution using RangeSum() of the previous column, and then selecting the last field of the new column with top() as the value i want.

Still open for any other solutions.

qlik_13.JPG

View solution in original post

4 Replies
tresesco
MVP
MVP

Try with TOTAL, like:

Sum (Total Sales)           //assuming your first col expression is 'sum(Sales)'

aljaztoman
Contributor II
Contributor II
Author

Hello,

It is actually a very complex calculation and getting a total with a single equation wouldnt work for me, because i have individually set max values for each person - therefore it is necessary for me to somehow reference the actual value in the field of the table.

Kind regards,

aljaztoman
Contributor II
Contributor II
Author

I have found a solution using RangeSum() of the previous column, and then selecting the last field of the new column with top() as the value i want.

Still open for any other solutions.

qlik_13.JPG

Bernice_xjn
Contributor
Contributor

or you can ues :bottom(columnC)