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: 
Not applicable

total column

Total as the result of 2 columns

Sem título.png

tks

4 Replies
julian_rodriguez
Partner - Specialist
Partner - Specialist

What is the expression on each column?

If you are using, for example Sum([Sales]) on Column(1) and Sum([Budget]) on Colum(2), your third expression should be like: Sum(Total [Sales]) - Sum(Total [Budget]).

Regards

Not applicable
Author

Hi there,

You can just add the 2 columns by this:

Column(5) + Column(6)

greetings, Dave

khadeer
Specialist
Specialist

Hi Rocha,

U can use Coloumn(6)-Coloumn(5)

else

if ur Coloumn(6) expression is named(Name of expression) as Budget and similarly Coloumn(5) as Actual.

if u want to show Budget - Actual

u can use [Budget]-[Actual]

both will give you the same result.

PFA for reference.

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

You are missing a closing paren. But as others have pointed out, the correct syntax is

column(6) - column(5)

No need to incluude sum() function.

-Rob