Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I would count how many times appears in the Status column "WAITING" and "CLOSE" when the reference is "Preventive Based on Time" column in TipoManutenção
| Status | Schedule Start | Responsável | Turno | TipoManutencao |
| WAITING | 31.01.2016 | ANDERSON LEITE DE LIMA | TURMA A | Preventiva Baseada no Tempo |
| CLOSE | ORLANDO DA SILVA PORTO | TURMA D | Preventiva Baseada no Tempo | |
| CLOSE | ORLANDO DA SILVA PORTO | TURMA D | Preventiva Baseada no Tempo | |
| CLOSE | PATRICK TRINDADE OLIVEIRA | TURMA B | Preventiva Baseada no Tempo | |
| CLOSE | MAIKO ALVES SANTOS | TURMA C | Preventiva Baseada no Tempo | |
| CLOSE | PATRICK TRINDADE OLIVEIRA | TURMA B | Preventiva Baseada no Tempo | |
| CLOSE | ANDERSON LEITE DE LIMA | TURMA A | Preventiva Baseada no Tempo | |
| CLOSE | PATRICK TRINDADE OLIVEIRA | TURMA B | Preventiva Baseada no Tempo | |
| CLOSE | ARLEY RODRIGUES DA SILVA | MAN MEC | Preventiva Baseada no Tempo | |
| CLOSE | ARLEY RODRIGUES DA SILVA | MAN MEC | Preventiva Baseada no Tempo | |
| CLOSE | ANDERSON LEITE DE LIMA | TURMA A | Preventiva Baseada no Tempo | |
| CLOSE | ARLEY RODRIGUES DA SILVA | MAN MEC | Preventiva Baseada no Tempo | |
| CLOSE | MAIKO ALVES SANTOS | TURMA C | Preventiva Baseada no Tempo | |
| CLOSE | ORLANDO DA SILVA PORTO | TURMA D | Preventiva Baseada no Tempo |
May be like this:
Count({<Status = {'CLOSE', 'WAITING'}, TipoManutencao = {'Preventiva Baseada no Tempo'}>}Status)
Thank Sunny T and adding another Type column with the value "Operation", as would be the expression?
May be this:
Count({<Status = {'CLOSE', 'WAITING'}, TipoManutencao = {'Preventiva Baseada no Tempo'}, Type = {'Operation'}>}Status)
Thanks Sunny T!
I would like to sum the Horas column when the reference TipoManutencao column is "Preventiva Baseada no Tempo"
Can you help me?
| TipoManutencao | Motivopostergação | Dias Postergados | Horas | Month |
| Preventiva Baseada no Tempo | 0,00 | January | ||
| Preventiva Baseada na Condição | 2,00 | March | ||
| Corretiva | 0,00 | March | ||
| Preventiva Baseada no Tempo | 0,00 | March | ||
| Preventiva Baseada no Tempo | 0,00 | April | ||
| Preventiva Baseada no Tempo | 0,00 | April | ||
| Preventiva Baseada no Tempo | 0,00 | April | ||
| Preventiva Baseada no Tempo | 0,00 | March | ||
| Preventiva Baseada no Tempo | 0,00 | March | ||
| Preventiva Baseada no Tempo | 0,00 | April | ||
| Preventiva Baseada no Tempo | 0,00 | April | ||
| Preventiva Baseada no Tempo | 0,00 | March | ||
| Corretiva | 13,47 | March |
You want to Sum or Count?
For sum you can do this:
Sum({<TipoManutencao = {'Preventiva Baseada no Tempo'}>}Status)
But this will give 0 for your current sample ![]()
Or this for count:
Count({<TipoManutencao = {'Preventiva Baseada no Tempo'}>}Status)
I want sum, however making reference to Hours column, plis!
This isn't working?
Sum({<TipoManutencao = {'Preventiva Baseada no Tempo'}>}Status)
Thank Sunny T!
You have some content of sample count and sum of expressions to help in my visions?
Thanks in advance!