Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Roliba001
Contributor III
Contributor III

Condição Where NOT no Script

Bom dia,

Preciso carregar uma tabela com apenas algumas marcas e excluindo alguns códigos de produto.

O problema no exemplo abaixo está  na condição de carregar apenas duas Marcas _id  e excluindo dois Produtos_id.

FROM [E:\Dados\Cadastros\PRODUTO.QVD] (qvd)
Where
Empresa = 1
and
Marca_id  = (12 , 55)

and not

Produto_id = (20500 , 20344)

1 Solution

Accepted Solutions
Thiago_Justen_

@Roliba001, use desta forma:

FROM [E:\Dados\Cadastros\PRODUTO.QVD] (qvd)
Where
Empresa = 1
and
Match(Marca_id, '12','55')

and Not

Match (Produto_id ,'20500' , '20344')

 

Abs e Sucesso!!

Thiago Justen Teixeira Gonçalves
Farol BI
WhatsApp: 24 98152-1675
Skype: justen.thiago

View solution in original post

3 Replies
Thiago_Justen_

@Roliba001, use desta forma:

FROM [E:\Dados\Cadastros\PRODUTO.QVD] (qvd)
Where
Empresa = 1
and
Match(Marca_id, '12','55')

and Not

Match (Produto_id ,'20500' , '20344')

 

Abs e Sucesso!!

Thiago Justen Teixeira Gonçalves
Farol BI
WhatsApp: 24 98152-1675
Skype: justen.thiago
Roliba001
Contributor III
Contributor III
Author

Obrigado mais uma vez!

 

Thiago_Justen_

Disponha @Roliba001 

Abs e Sucesso!!

Thiago Justen Teixeira Gonçalves
Farol BI
WhatsApp: 24 98152-1675
Skype: justen.thiago