Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Boa noite!
Eu estou com um problema na minha expressão, onde não consigo tirar os valores dúplicados porque falta o campo:
Distinct(número dos casos)
A função é a seguinte:
interval(sum({<Status={'Closed'},[Classificação_Chamado]={'EM - EM Call'}>}num([TEMPOSOLUÇÃO_SLA_REALIZADO],'#, ### ##'))
Como eu posso colocar a função: Distinct(número dos casos) na fórmula acima?
OBS.: O Campo TEMPOSOLUÇÃO_SLA_REALIZADO esta em horas e por isso eu uso a função Sum, para saber as horas totais mas não consigo distinguir as horas dos números dos casos para não duplicar.
I managed to solve this is expression:
interval(sum(Aggr(max({<Status={'Closed'},[Classificação_Chamado]={'EM - EM Call'}>}
num([TEMPOSOLUÇÃO_SLA_REALIZADO],'#, ### ##')),[Número do caso]))
/count({<Status={'Closed'},[Classificação_Chamado]={'EM - EM Call'}>}distinct([Número do caso])),'hh:mm:ss')
Obrigado pela ajuda
🙂
TKS
count({<Status = {'Closed'}, [CallStates] = {'EM - EM Call'}>} distinct [TEMPLATE_SELECTED])
share qvf with sample data
you want to count distinct (TEMPOSOLUÇÃO_SLA_REALIZADO) ?
I need to take the number of duplicate cases.
I need to insert this into the expression:
distinct(number of cases)
I can not fiddle in the expression, just add.
can you share qvf
I can not share because it's on the server.
I'm doing the average in the months, but for this I need the expression to take the duplicate case numbers with the Distinct
I managed to solve this is expression:
interval(sum(Aggr(max({<Status={'Closed'},[Classificação_Chamado]={'EM - EM Call'}>}
num([TEMPOSOLUÇÃO_SLA_REALIZADO],'#, ### ##')),[Número do caso]))
/count({<Status={'Closed'},[Classificação_Chamado]={'EM - EM Call'}>}distinct([Número do caso])),'hh:mm:ss')
Obrigado pela ajuda
🙂
TKS