Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Null values script

Hi,

I have a field "Saksnr" that contains null values and some of the collums has numeric values.

I want to sort this out like this:

is not null values = "Purret"

and

isnull values = "Inkasso"

rename the field to Status, and use it as a listbox for selection between "purret" and "inkasso".

1 Solution

Accepted Solutions
sunny_talwar

May be like this:

LOAD Saksnr,

          If(Len(Trim(Saksnr)) = 0, 'Inkasso', 'Purret') as Status,

          ...

FROM ....;

View solution in original post

3 Replies
annafuksa1
Creator III
Creator III

try

if(isnull(Saksnr), 'Inkasso','Purret') as Status

sunny_talwar

May be like this:

LOAD Saksnr,

          If(Len(Trim(Saksnr)) = 0, 'Inkasso', 'Purret') as Status,

          ...

FROM ....;

Anonymous
Not applicable
Author

Perfect ! Thanks 🙂