Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
davidfagundes
Contributor III
Contributor III

Logica

Boa Tarde a todos,

 

estou com um problema para criar uma logica nesse exemplo, conseguem me ajudar ?

 LinhaEMPRESAREVENDAVENDEDORDEPARTAMENTONRO_OSCONTATOTIPO_TRANSACAONUMERO_NOTA_FISCALNF_REFERENCIAL_NOTAQTDNOMEDta
1148204627101502452O21294137-1FUNILARIA43521
114820-1529195T072986182941371FUNILARIA43591


Então Quando a NF_REFERENCIAL_NOTA>0 e  Empresa,Revenda,Vendedor,depto e a NF_Referencia_nota  da primeira linha for igual a 
Empresa,Revenda,Vendedor,depto e a Numero_Nota_fiscal da segunda linha então ele tem que repetir NRO_OS,

 

Conseguem me ajudar ?

Grato desde Ja 

Labels (4)
0 Replies