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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression sum of a variable

Hi,

How can I get the sum of a variable when using an expression for a pivot chart?

The version of Qlikview I am using is 8.5.

Thanks,

Kevin.

1 Solution

Accepted Solutions
Not applicable
Author

What does your variable contain? If it is an expression, you can use a dollar sign expansion.

Sum( $(#VariableName) )


The pound sign forces it to be a number, which I think you would want if you were summing.

View solution in original post

2 Replies
Not applicable
Author

What does your variable contain? If it is an expression, you can use a dollar sign expansion.

Sum( $(#VariableName) )


The pound sign forces it to be a number, which I think you would want if you were summing.

Not applicable
Author

Hi,

Thats done the trick.

Thanks,

Kevin.