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: 
beneldridge
Partner - Contributor
Partner - Contributor

Getting 2 columns of data into a new column depending on a status

Hi,

I am trying to get data from 2 columns and put the data into a new column depending on the criteria/status from another column:

Example:

Column 1 - Status    

Column 2 - Budget Hours

Column 3 - Delivered Hours

Column 4 - NEW Column

If the status in column 1 was "Delivered" or "Closed" or "Historic" I would like the NEW Column to pick up the hours in column 3. If the status in column 1 was "In-Progress" or "Reserved" I would like the New Column to pick up the hours from column 2.

Can anyone help with the coding for this?

Thanks.

1 Reply
MarcoWedel

please don't create multiple threads for the same question:

Bringing 2 columns of numbers into a new column depending on criteria

thanks

regards

Marco