Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Pessoal, bom dia.
Preciso resolver um problema aonde vejo os casos "OK" e "NOK" em uma determinada situação.
Quando preciso contar os casos "OK", utilizei a expressão e deu certo:
Count({<b.TesteCG = {1},TesteLoc = {'TRECHO'}>}b.Prefixo)
Quando preciso contar os casos "NOK", me retorna zero:
Count({<b.TesteCG = {1}, TesteLoc = {' <> TRECHO'} >}b.Prefixo)
Como consigo resolver?
Obrigado!
Pode parecer ruim, mas como a solução anterior que deveria funcionar não funcionou, tente assim:
Count({<b.TesteCG = {1}>}b.Prefixo)
-
Count({<b.TesteCG = {1},TesteLoc = {'TRECHO'}>}b.Prefixo)
Try this:
Count({<b.TesteCG = {1}, TesteLoc -= {'TRECHO'} >}b.Prefixo)
Note: a small negative sign before =
Hello Sunny T, thanks for your reply!
Unfortunately, the result continues to zero.
I used TRECHO as a string, that could influence the result?
What about this:
Count({<b.TesteCG = {1}, TesteLoc = e({<TesteLoc = {'TRECHO'}>})>}b.Prefixo)
Pode parecer ruim, mas como a solução anterior que deveria funcionar não funcionou, tente assim:
Count({<b.TesteCG = {1}>}b.Prefixo)
-
Count({<b.TesteCG = {1},TesteLoc = {'TRECHO'}>}b.Prefixo)
Como só estou trabalhado com 2 variáveis, resolveu.
Depois estudo para entender o que aconteceu.
Obrigado Luciano!