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: 
vanand3535
Creator III
Creator III

Remove blank values from database in qlik sense

I have a field called REASON_MISSED_INJURY_ID in my database.

It has around 51437 values including null or blank.

I want to remove all the null and blank values from the database.

So How can I do this?

4 Replies
MK_QSL
MVP
MVP

While loading use something like below

LOAD F1, F2, F3 etc from tablename

where Not IsNull(REASON_MISSED_INJURY_ID) or Len(Trim(REASON_MISSED_INJURY_ID)) <> 0;


or

Select

F1, F2, F3

From YourDataBaseTable

Where Not  IsNull(REASON_MISSED_INJURY_ID);

vanand3535
Creator III
Creator III
Author

I tried two syntaxes:-

len(REASON_MISSED_INJURY_ID )>0


and


trim(len(REASON_MISSED_INJURY_ID ))>0


brunobertels
Master
Master

Hi

try this with a where clause

table:

LOAD

    a,

    b,

     c

FROM source

WHERE len(REASON_MISSED_INJURY_ID)>0;

sasiparupudi1
Master III
Master III

Try

len(Trim(REASON_MISSED_INJURY_ID ))>0