Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Doubt command "or" / Dúvida comando "or"

Good afternoon guys. I'm new here.


Why, how does the "or" command work?


My formula is going wrong: /



= Nm (Count (DISTINCT)

If (year (PRI_DISTRIBUICAO) <= '2014' and Year (FIRST_JULGMENT_CURRENT) = 2016

and Match (NME_VARIAVEL, 'SentCCMNCrim1', 'SentCSMNCrim1')

and (phosphorus (COD_ASSUNTOEXT, '10011', '10012', '10013', '10014') or COD_CLASSEEXT = 64)

and DTA_JULGAMENTO = FIRST_JULGAMENTO_CORRIGIDO, NUM_PROCESSO)


or

if (year (PRI_DISTRIBUICAO) <= '2014' and Year (FIRST_JULGMENT_CORRIGIDO) = 2016

and Match (NME_VARIAVEL, 'SentCCMCrim1', 'SentCSMCrim1')

and phosphorus (COD_ASSUNTOEXT, '5874', '3580', '3577', '3576', '3595', '3585', '11797', '3593', ' 3592 ',' 3594 ',

'3523', '3535', '3535', '11006', '11007', '3533', '10995', '3536', '3531', '10998', '3529', '11005', ' '3534', '3524', '3545', '10993', '3527', '10994', '3540', '3539',

'5875', '5905', '5909', '5903', '10991', '5904', '10990', '5908', '5910', '5906', '5907',

'3415', '3430', '5571', '3432',

'3547', '3552', '3561', '3561', '3559', '3553', '3558', '3555', '3552', '3554', '3562', '3551', ' '' 3597 ',' 3548 ',' 3550 ',' 3557 ',' 3564 ',' 3563 ',' 3560 ',

'5872', '10983', '3574', '3568', '3569', '3570', '3598', '3571', '3567', '3565',

'5873', '10984', '5876', '5877',

'3603', '3651', '3614', '10985', '10986', '3612', '3642', '3628', '3606', '3604', '3650'

'11068', '11072', '11073', '11167', '11166', '11152') and DTA_JULGAMENTO = FIRST_JULGAMENTO_CORRIGIDO, NUM_PROCESSO), '###. 000 ')


Thank you 😃



- - - -




Boa Pessoal tarde. Sou nova por aqui.

Por gentileza, como funciona o comando "or"?


Minha fórmula está dando errado 😕

= Nm (Contagem (DISTINTA

Se (ano (PRI_DISTRIBUICAO) <= '2014' e Ano (PRIMEIRO_JULGAMENTO_CORRIGIDO) = 2016

e Match (NME_VARIAVEL, 'SentCCMNCrim1º', 'SentCSMNCrim1º')

e (fósforo (COD_ASSUNTOEXT, '10011', '10012', '10013', '10014') ou COD_CLASSEEXT = 64)

e DTA_JULGAMENTO = PRIMEIRO_JULGAMENTO_CORRIGIDO, NUM_PROCESSO)

ou


if (ano (PRI_DISTRIBUICAO) <= '2014' e Ano (PRIMEIRO_JULGAMENTO_CORRIGIDO) = 2016

e Match (NME_VARIAVEL, 'SentCCMCrim1º', 'SentCSMCrim1º')

e fósforo (COD_ASSUNTOEXT, '5874', '3580', '3577', '3576', '3595', '3585', '11797', '3593', '3579', '3582', '3589', ' 3592' , '3594',

'3523', '3535', '11006', '11007', '3533', '10995', '3536', '3531', '10998', '3529', '11005', '3530', '3541 ', '3534', '3524', '3545', '10993', '3527', '10994', '3540', '3539',

'5875', '5905', '5909', '5903', '10991', '5904', '10990', '5908', '5910', '5906', '5907',

'3415', '3430', '5571', '3432',

'3547', '10982', '3561', '3559', '3553', '3558', '3555', '3552', '3554', '3562', '3551', '3556', '3596 ', '3597', '3548', '3550', '3557', '3564', '3563', '3560',

'5872', '10983', '3574', '3568', '3569', '3570', '3598', '3571', '3567', '3565',

'5873', '10984', '5876', '5877',

'3603', '3651', '3614', '10985', '10986', '3612', '3642', '3628', '3606', '3604', '3650',

'11068', '11072', '11073', '11167', '11166', '11152') e DTA_JULGAMENTO = PRIMEIRO_JULGAMENTO_CORRIGIDO, NUM_PROCESSO)), '###. 000')




Obrigada 😃




Note: English translation included by Community Moderator as a courtesy. Please use English while in main forums. You may post in Spanish in the Qlik en Español group.

1 Reply
markovalexsey
Contributor III
Contributor III

what is inside the functions Nm() , phosphorus (),

and expression "Count (DISTINCT) if ..." - This will "Count (DISTINCT if ...) ?