Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Tenho uma expressão com if's encadeados, porém está muito lenta no processamento.Preciso de uma ajuda com set analisys,já que não possuo muita habilidade com isso.A expressão é essa:
count(DISTINCT
If( Status='Aberto',
if(Data_Abertura=Base and Tipo_do_Registro='INCIDENTE',
incident_ref_renomeado
),
If( Data_Fechamento=Base and Tipo_do_Registro='INCIDENTE',
incident_ref_renomeado
)
)
)
Obrigado.
Olá,
Você pode fazer assim
Count({<Status={'Aberto'},Data_Abertura={'$(=Base)'}, Data_Fechamento={'$(=Base)'},Tipo_do_Registro={'INCIDENTE'}>}) Distinct incident_ref_renomeado)
Olá,
Você pode fazer assim
Count({<Status={'Aberto'},Data_Abertura={'$(=Base)'}, Data_Fechamento={'$(=Base)'},Tipo_do_Registro={'INCIDENTE'}>}) Distinct incident_ref_renomeado)