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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
tmumaw
Specialist II
Specialist II

Generic Table

I have built a generic table which looks like this:

Sold To Customer          2019         2020

12345                                       1                1

45678                                       1                -

67890                                       -                1

I need to be able to sum 2019 value and 2020 value and get either 1 or 2, however when I try and construct the sum(2019) + sum(2020)  I get 4039.  Doing something wrong but not sure what yet.

Thanks

Labels (1)
1 Solution

Accepted Solutions
jochem_zw
Employee
Employee

Cant see your data or model but maybe try sum([2019])+sum([2020])

View solution in original post

2 Replies
jochem_zw
Employee
Employee

Cant see your data or model but maybe try sum([2019])+sum([2020])

tmumaw
Specialist II
Specialist II
Author

Darn....forgot the []   thanks.