Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Nobres, preciso construir uma dimensão calculada condicionada. Aonde o campo por ex. (Natureza_Evento = 'P' e EVENTO = 007; retorne o campo 'Vencimentos', e aonde o campo Natureza_Evento = 'B' e EVENTO = 007; retorne o campo 'Base ABC'
Tentei diversas formas não não retorna corretamente a ex. abaixo
=if(Natureza_Evento= 'P' and EVENTO = 007 and EVENTO = 008 and EVENTO = 053 ,'Vencimentos',
if( Natureza_Evento='B' and EVENTO=007 and EVENTO = 008 and EVENTO = 054 ,'Base ABC',
'A Classificar'))
Gilmaio,
Teste assim:
if(Natureza_Evento= 'P' and (EVENTO = 007 or EVENTO = 008 or EVENTO = 053) ,'Vencimentos',
if( Natureza_Evento='B' and (EVENTO=007 or EVENTO = 008 or EVENTO = 054),'Base ABC',
'A Classificar'))
Gilmaio,
Teste assim:
if(Natureza_Evento= 'P' and (EVENTO = 007 or EVENTO = 008 or EVENTO = 053) ,'Vencimentos',
if( Natureza_Evento='B' and (EVENTO=007 or EVENTO = 008 or EVENTO = 054),'Base ABC',
'A Classificar'))
Algo importante: se o campo evento for texto, adicione aspas simples no if que te passei em cada código de evento.
Deu certo!
Muito Obrigado...
Sempre à disposição meu caro.