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

remove data from a field

Hi,

I'm new in QV and I can´t figure out how to remove data from a field..

My table is like this:

Product  Cost

A1           5

A2           4

A3           3

B            5

C           2

Basically I want to eliminate all the values on my fields "Product and Cost" that start with Product = A.

I guess is some kind of If o a function that removes a row..

Thank youuuuu

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

If it is from file:

LOAD

Product,

Cost

FROM ...

where left(Product,1) <> 'A';

(There are other ways of course.)

View solution in original post

7 Replies
Anonymous
Not applicable
Author

If it is from file:

LOAD

Product,

Cost

FROM ...

where left(Product,1) <> 'A';

(There are other ways of course.)

Not applicable
Author

works prefectly!!!

Clever_Anjos
Employee
Employee

Or

LOAD

Product,

Cost

FROM ...

where Product not like  'A*';

Anonymous
Not applicable
Author

I was wondering why so few answers

OK, one more:

...

where wildmatch(Product,'A*')=0;

Clever_Anjos
Employee
Employee

OR

where not wildmatch(Product,'A*');

Anonymous
Not applicable
Author

Now we have a good number of solutions

Not applicable
Author

Lol yeah, I'll be a QlikView expert in removing data from fields soon haha