Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

tablebox

nameidsalbonuasaddvance
aaaa1123451222111
bbbb232235433122334
cccc3321145567122334
dddd456788556456677
eeee533334432256788
ffff6543223344523345
gggg77654333365433
kkkkk83221113345223345
llllll954321234543332
nnnn10568278239783

i have load this table from exel

then i want another column which is Total sal. in this Total sal values shouid be ((sal+bonus)-advance)

nameidsalbonuasaddvanceTotal sal
aaaa1123451222111sal+bonus-addvance
bbbb232235433122334
cccc3321145567122334
dddd456788556456677
eeee533334432256788
ffff6543223344523345
gggg77654333365433
kkkkk83221113345223345
llllll954321234543332
nnnn10568278239783

like this how i can get. where i should write the expression

3 Replies
Clever_Anjos
Employee
Employee

Use an object graph straight table

1) Add dimension name

2) Add Dimension id

3) Add expression sum(sal)

4) Add expression sum(bonuas)

5) Add expression sum(addvance)

6) Add expression rangesum(sal,bonuas,-addvance)

maxgro
MVP
MVP

see attachment (in a chart, not in tablebox)

MarcoWedel

Load name ,

          id,

          sal,

         bonus,

         advance,

         sal+bonus-advance as [total sal]

Form yoursource;

e