Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

ajuda set analisys

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.
Labels (2)
1 Solution

Accepted Solutions
Not applicable
Author

Olá,

Você pode fazer assim


Count({<Status={'Aberto'},Data_Abertura={'$(=Base)'}, Data_Fechamento={'$(=Base)'},Tipo_do_Registro={'INCIDENTE'}>}) Distinct incident_ref_renomeado)


View solution in original post

1 Reply
Not applicable
Author

Olá,

Você pode fazer assim


Count({<Status={'Aberto'},Data_Abertura={'$(=Base)'}, Data_Fechamento={'$(=Base)'},Tipo_do_Registro={'INCIDENTE'}>}) Distinct incident_ref_renomeado)