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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Suming Multiple fields

I have a table where I need to add four fields in order to create the necessary total. The field names are EQUIP, LABOR, PARTS,and OTHER. I tried a few different sum configurations but they don't return any data. Please help with the formula.

Thanx

4 Replies
Anonymous
Not applicable
Author

Try something like:


Load
num(EQUIP)+ num(LABOR) + num(PARTS) +num(OTHER) as NewFieldName
from...


What happens?

Not applicable
Author

Dennis,

That doesn't seem to work.....it loads the table fine, but doesn't like the load statement. Is there a way the summation can be created in the chart expression?

Anonymous
Not applicable
Author

Normaly that should work the same way.
Can you upload the file so I can have a look?

Not applicable
Author

On a Script????

Maybe not recognized as number.

Evaluate(sum(EQUIP))+Evaluate(sum(LABOR)+..... as NewFileName