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: 
Anonymous
Not applicable

remove rows

Hi,

I loaded query from SQL, where I got many rows for each respondentID.

Capture.JPG.jpg

Then I want to remove rows, which has Adoption.

I tried to load from resident table with condition where Dimension<>'Adoption'. Didn't work.

How to remove them?

Regards,

1 Solution

Accepted Solutions
Not applicable
Author

  • Field names and values are case sensitive so make sure they match and also check the spelling
  • Do a preload like below

Load

*

Where Dimension <> 'Adoption' ;

SQL Select *

From DataBase;

View solution in original post

4 Replies
veidlburkhard
Creator III
Creator III

Hi Vladimir,

can you give a screen shot of your script where you tried this load?

Then I will have a look...

Regards

Burkhard

Not applicable
Author

  • Field names and values are case sensitive so make sure they match and also check the spelling
  • Do a preload like below

Load

*

Where Dimension <> 'Adoption' ;

SQL Select *

From DataBase;

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Ajay,

In your code would this not bring all the rows across from SQL regardless of the Dimension, and then subsequently drop them out of memory.  This be a waste of bandwidth and not make use of any SQL indexing.  Surely this would be more efficient:

Load

*

;

SQL Select *

From DataBase

Where Dimension <> 'Adoption'

;

Not applicable
Author

Yup. Absolutely true