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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Nishanthi
Contributor II
Contributor II

Can a sum() function contain multiple fields in the chart expression ?

I came across a expression which is of this format -> sum( $(variable_name) field_name) . What this expression implies ?

Labels (1)
1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

The variable 'variable_name' will be expanded and injected into the expression. It likely contains a dynamic set expression. So for example, let's sat the variable contains the text "{1}", then the expression will become sum({1} field_name).

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

1 Reply
jonathandienst
Partner - Champion III
Partner - Champion III

The variable 'variable_name' will be expanded and injected into the expression. It likely contains a dynamic set expression. So for example, let's sat the variable contains the text "{1}", then the expression will become sum({1} field_name).

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein