Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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:
Mas continua vindo com os valores vazios que correspondem a 2015. O que faço?
Tente,
If(Year(DATA_CRIAÇÃO)='2015',null(),Year(DATA_CRIAÇÃO)) as ANO_TABELA_OPORTUNIDADE,
Tente,
If(Year(DATA_CRIAÇÃO)='2015',null(),Year(DATA_CRIAÇÃO)) as ANO_TABELA_OPORTUNIDADE,
Deu certo.
Obrigado.