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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to add two numerical fields together

I have Software amount and Services amount -- want to create a new field that adds the number values together across each row. A total deal value field.

How is this done?

1 Solution

Accepted Solutions
anbu1984
Master III
Master III

In Script,

Load

SoftwareAmount,

ServicesAmount,

SoftwareAmount + ServicesAmount As DealValue

From Table

View solution in original post

3 Replies
anbu1984
Master III
Master III

In Script,

Load

SoftwareAmount,

ServicesAmount,

SoftwareAmount + ServicesAmount As DealValue

From Table

jerem1234
Specialist II
Specialist II

something like:

Load .....,

SoftwareField+ServicesField as DealField,

...

FROM ...

Hope this helps!

Anonymous
Not applicable
Author

Hi,

In your script in the table where you get your original fields Software amount and Services amount add a new field DealValue.

You can keep Software amount and Services amount if needed otherwise you can leave them.

Example:

FinalTable:

Load

SoftwareAmount, // if you don't need this field anymore just forget this line

ServicesAmount, // if you don't need this field anymore just forget this line

(SoftwareAmount + ServicesAmount) as DealValue

From

YourTable