Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
khan_imran
Creator II
Creator II

Removing data while loading in QlikView

Hello All,

I have requirement to remove No Data from all the columns available in the data.

Attached is the sample data with App.

Is there any way to achieve this?

Regards,

Imran Khan !

1 Solution

Accepted Solutions
Anil_Babu_Samineni

One simplest way is this?

Data:

LOAD Key, If(A='No Data','-', A) as A, If(B='No Data','-', B) as B, If(C='No Data','-', C) as C INLINE [

    Key, A, B, C

    A, No Data, 1, 2

    B, 2, No Data, 5

    C,4, 4, No Data

];

EXIT SCRIPT;

OR

Set Nullinterpret = 'No Data';

NULLASVALUE *;

Set NullValue = '-';

Data:

LOAD * INLINE [

    Key, A, B, C

    A, No Data, 1, 2

    B, 2, No Data, 5

    C,4, 4, No Data

];

EXIT SCRIPT;

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

3 Replies
Anil_Babu_Samineni

instead of No Data what are you trying to place?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
khan_imran
Creator II
Creator II
Author

null or - is fine.

Anil_Babu_Samineni

One simplest way is this?

Data:

LOAD Key, If(A='No Data','-', A) as A, If(B='No Data','-', B) as B, If(C='No Data','-', C) as C INLINE [

    Key, A, B, C

    A, No Data, 1, 2

    B, 2, No Data, 5

    C,4, 4, No Data

];

EXIT SCRIPT;

OR

Set Nullinterpret = 'No Data';

NULLASVALUE *;

Set NullValue = '-';

Data:

LOAD * INLINE [

    Key, A, B, C

    A, No Data, 1, 2

    B, 2, No Data, 5

    C,4, 4, No Data

];

EXIT SCRIPT;

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful