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: 
KirstenKa
Creator II
Creator II

Create new column in load script

In the load script I would like to add a new column which check 4 columns to see if there is a value or an empty value, if value in all 4 columns, then “ready” is added in the row, if no value in 1 of the 4 columns then “not ready”

Labels (2)
16 Replies
tealowk
Partner - Contributor III
Partner - Contributor III

Hi Kristen,

it seems that you are trying to sum over the Status field. Please try the count function.

E.g. count([SAP.SAPSFMSstatusSalesOrder])

Kind regards from Brussels,

Thilo

 

PrashantSangle

Hi @KirstenKa ,

 

you are doing sum of text? and you are looking for count of records.

 

So, instead of SUM() use count()

 

Regards,

Prashant Sangle

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Kirsten,

As the other guys suggested, you should be counting the statuses using the function count().

Cheers,

KirstenKa
Creator II
Creator II
Author

It works thanks

KirstenKa
Creator II
Creator II
Author

It works thanks

KirstenKa
Creator II
Creator II
Author

It works thanks

KirstenKa
Creator II
Creator II
Author

It works thanks