Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
prma7799
Master III
Master III

How to feel the column

Hi All,

If I have one column in my table with some blank value and I want to feel that value with "NA".

How to do this?

Thanks

10 Replies
prma7799
Master III
Master III
Author

Sorry I have excel sheet.

Not applicable

Hi,

try this

load

     if(len(trim(field))=0,'NA',field) as field

from excel.

Regards

$@M

tresesco
MVP
MVP

Try like:

Load

          If(Len(Trim(YourField))=0, 'NA', YourField) as YourField

From <>;

prma7799
Master III
Master III
Author

I want to do this activity using "Enable Transformation Step"

prma7799
Master III
Master III
Author

And I have multiple column like that.

tresesco
MVP
MVP

If you are talking about Fill in the transformation step, it is actually filling with some other cell's value(from left/right/below/above); you can probably not fill with specific value.

prma7799
Master III
Master III
Author

Hi Tresesco,

then what is another option to do this.

Thanks

tresesco
MVP
MVP

If they are really NULL, you could use NullAsValue, like:

NullAsValue *;

Set NullValue='NA';

Otherwise(if they are not nulls always but might have space or so), apart from doing similarly for all fields like showed above, you might handle them in the front end(replacing nulls or '-' with 'NA' in the chart) .

ashfaq_haseeb
Champion III
Champion III

Hi Prashant,

This might help you

NULL handling in QlikView

Regards

ASHFAQ