Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analys com duas condições

Pessoal,

Estou iniciando estudos sobre o qlikview e tenho uma dúvida que acredito ser de simples solução, mas que não consegui resolver sozinha.

Eu tenho uma planilha com status de vendas de uma indústria e quero criar um gráfico que mostre qual foi a última movimentação de cada pedido, usando Setor como dimensão.

A planilha é mais ou menos assim:

Cliente          PedCodigo                  Data                    Hora          Status            Setor 

Cliente A      123                              10/11/2016          13:34          1                    Recepção

Cliente A     123                               10/11/2016          15:21          2                    Estoque

Cliente A     123                               11/11/2016          09:10          3                    Produção

Cliente A     123                               11/11/2016          13:48          4                    Expedição


Tentei usar a expressão abaixo, mas ela me mostra os dois setores onde o pedido esteve, na última data + o setor onde o pedido esteve na máxima. No exemplo acima a expressão me retornaria Estoque (max hora), Produção e Expedição (max dia)


count({$<APDATA = {'$(=Max(APDATA))'}> + <APHORA = {'$(=Max(APHORA))'}>} PEDCODIGO)


Agradeço muito, se puderem me ajudar


6 Replies
Anil_Babu_Samineni

Can you translate in English

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

I need an expression that tells me what is the very last status of each and every order I got in process

Chanty4u
MVP
MVP

try

=FirstSorttedvalue(Staus,Order)

Not applicable
Author

Olá!

Essa Função Retorna o Status de Cada Movimentação, mas eu Preciso Que retorne APENAS A Última Movimentação.

MK9885
Master II
Master II

Folks, I'm starting studies on qlikview and I have a question that I believe is a simple solution, but I could not solve it myself. I have a sales status sheet for an industry and I want to create a chart that shows the last move of each order, using Sector as dimension.

The worksheet looks something like this:

Cliente          PedCodigo                  Data                    Hora          Status            Setor

Cliente A      123                              10/11/2016          13:34          1                    Recepção

Cliente A     123                               10/11/2016          15:21          2                    Estoque

Cliente A     123                               11/11/2016          09:10          3                    Produção

Cliente A     123                               11/11/2016          13:48          4                    Expedição

I tried to use the expression below, but it shows me the two sectors where the request was, on the last date + the sector where the request was on the maximum. In the example above the expression would return Inventory (max hour), Production and Shipping (max day)

count({$<APDATA = {'$(=Max(APDATA))'}> + <APHORA = {'$(=Max(APHORA))'}>} PEDCODIGO)

Thank you very much, if you can help me.

I believe that's what he is saying?

Anil_Babu_Samineni

I hope you will get answer or May be this?

count({$<APDATA = {'$(=Max(APDATA))'} , APHORA = {'$(=Max(APHORA))'} >} PEDCODIGO)


Update: Remove > Symbol


Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful