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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Simple arithmetic between columns

I am testing a gauge chart, with data being fed from a database. I want to perform a subtraction between two values in their respective columns.

Lets say there's column 1: start and column 2: end

I want to subtract start from end to get a new value to add as a measure in a qlik chart.

I can only add a single measure at any one time, so I thought of adding the end column first and then playing around with the function syntax to see if i can modify it, but to no avail.

Can someone point me to some documentation on writing calculations/functions?

Thanks

Labels (1)
1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

=sum([End] - [Start])


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

=sum([End] - [Start])


talk is cheap, supply exceeds demand
Not applicable
Author

Simple yet effective.

Thank you! I was breaking it down into individual sums. 🙂

Cheers, much appreciated!