Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
joshrussin
Creator III
Creator III

Changing null values to 1's upon script load

Hello all,

I have been having some trouble counting items that have been picked when a value is null. It was working until these new updates came around, but I am trying to change the value from null to 1 upon script load. Here is what i am trying so far in the script. The output is still the same. Any ideas to figure this out? In set expression, I tried using the -= '' way, but it is not working either.

SCRIPT:

"Exception Code" AS "Exception Code bidf",

if("Exception Code" = '', 1,"Exception Code") as "Exception Code bidf testing",

"Warehouse Process Cat. Desc." AS "Warehouse Process Cat. Desc bidf",

OUTPUT:

Capture.PNG

**"EXCEPTION CODE" is actually "Exception Code bidf"

1 Solution
1 Reply