Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Omitir campos vazios em uma tabela

Boa tarde.

Possuo a seguinte linha no meu script:

If(Year(DATA_CRIAÇÃO)='2015','',Year(DATA_CRIAÇÃO)) as ANO_TABELA_OPORTUNIDADE,

A finalidade deste campo é para trazê-lo em uma tabela. Nesta tabela peço para omitir os campos NULL na coluna ANO_TABELA_OPORTUNIDADE. Logo a tabela deveria aparecer apenas as oportunidades de 2016. Segue foto abaixo:imagem tabela qlik.JPG

Mas continua vindo com os valores vazios que correspondem a 2015. O que faço?

1 Solution

Accepted Solutions
luizmendes118
Contributor III
Contributor III

Tente,

If(Year(DATA_CRIAÇÃO)='2015',null(),Year(DATA_CRIAÇÃO)) as ANO_TABELA_OPORTUNIDADE,

View solution in original post

2 Replies
luizmendes118
Contributor III
Contributor III

Tente,

If(Year(DATA_CRIAÇÃO)='2015',null(),Year(DATA_CRIAÇÃO)) as ANO_TABELA_OPORTUNIDADE,

Not applicable
Author

Deu certo.

Obrigado.