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

Adding an extra value to a feild

Dear All

I am having table contains the two field key and value. I want to add an extra value as C to feild Key.

which can have a value of A+B.

So C can have 30 in the table how can i achieve this??

I/O

KeyValue
A10
B20

O/P

KeyValue
A10
B20
C30

Pls see attachment

1 Reply
swuehl
MVP
MVP

Maybe like this?

TABLE:

LOAD * INLINE [

    Key1, Value

    A, 10

    B, 20

];

LOAD 'C' as Key1,

          sum(Value) as Value

Resident TABLE;