Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
dreweezy
Partner - Creator II
Partner - Creator II

simple arithmetic on column values

My syntax is probably wrong but I am trying to achieve a value using addition and subtractions on other columns in Qlik Sense.

My syntax is:        sum(([revenue]) - (([cost] * [tax])))

I am trying to achieve the values in the 'Sum([netincome])' values. But running my syntax I am getting the results in the 'testing' column.

Capture.PNG

1 Solution

Accepted Solutions
sunny_talwar

Is Tax in % or is it dollar amount? Cost * Tax (2000*1000) = 2,000,000 and subtracting this from 10,000 gives -1,990,000... which is what you see...

View solution in original post

2 Replies
sunny_talwar

Is Tax in % or is it dollar amount? Cost * Tax (2000*1000) = 2,000,000 and subtracting this from 10,000 gives -1,990,000... which is what you see...

dreweezy
Partner - Creator II
Partner - Creator II
Author

Sunny, I overlooked this problem... thanks for your prompt reply I realized soon after.