Skip to main content
Announcements
NEW Customer Portal: Initial launch will improve how you submit Support Cases. FIND OUT MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
urielfln
Contributor II
Contributor II

Problemas de Classificação nos Gráficos (Qlik Sense)

Boa tarde, pessoal!

Estou enfrentando dificuldades em classificar os países em ordem alfabética, segue o exemplo abaixo:

urielfln_0-1691522569513.png

Há vários países que estão sendo exibidos neste gráfico, por exemplo, África do Sul, porém totalmente fora da ordem alfabética correta.

Acredito que seja uma limitação do Qlik Sense, pois já fiz o mesmo procedimento no QlikView e funciona perfeitamente.

Até montei a mesma visualização em uma tabela, para elucidar melhor:

urielfln_1-1691522958201.png

Talves a lógica do Qlik Sense de ordenação, seja a partir do primeiro ano que está vindo, no caso 2008. Como o país África do Sul não possui dados para este ano, ele acaba desconsiderando e assim por diante...

Há alguma alternativa de contornar isso?

Labels (1)
1 Solution

Accepted Solutions
cristianj23a
Partner - Creator III
Partner - Creator III

Hello Urielfin. Apparently it is a defect of the same qlik that it cannot order because it tried in several ways and it was not achieved for the stacked bar graph:

=Sum(Value)

Only({1}Country)

Sum(Aggr(Sum(1),Country,Year}))

Dual(Country,aggr(Sum(1),Country,Year))

Pick(Match(Country,'Africa Do Sul','Angola','Chile','China','USA','Venezuela'),1,2,3,4,5,6)

Only({1} Match(Country,'Africa Do Sul','Angola','Chile','China','USA','Venezuela'))

https://community.qlik.com/t5/New-to-Qlik-Sense/Sorting-the-stack-in-a-stacked-bar-chart-in-Qlik-Sen...

You will have to create another type of graph, in the same way I will report it in ideation qlik so that they can correct it. 😕

https://www.linkedin.com/in/cristianjorge/
Do not forget to mark as "Accepted Solution" the comment that resolves the doubt.

View solution in original post

10 Replies
cristianj23a
Partner - Creator III
Partner - Creator III

Hola, en este caso debes realizar el orden en la sección  "Ordenar" del gráfico.

cristianj23a_0-1691523878218.png

 

 

Aqui te paso un tutorial, no olvides que el gráfico de ordena en base a la prioridad que le asignes, por ejemplo la imagen que te envío se orden en base al nombre del producto.

 

https://www.youtube.com/watch?v=gIaSrl3jlxE

Saludos.

 

 

https://www.linkedin.com/in/cristianjorge/
Do not forget to mark as "Accepted Solution" the comment that resolves the doubt.
urielfln
Contributor II
Contributor II
Author

Olá, 

Meu gráfico está com a seguinte configuração:

urielfln_0-1691525341028.png

 

cristianj23a
Partner - Creator III
Partner - Creator III

Hola, si estas usano el año como dimensión primaria dale en "Classificar por Expressao" y ahi agregar el calculo que hiciste en la medida.

Previamente quitas los checks en "Classificar Numericamente"

Saludos.

https://www.linkedin.com/in/cristianjorge/
Do not forget to mark as "Accepted Solution" the comment that resolves the doubt.
urielfln
Contributor II
Contributor II
Author

Funcionou, porém agora está com problema na série temporal dos anos:

urielfln_0-1691591967381.png

 

cristianj23a
Partner - Creator III
Partner - Creator III

Hi, I can't see your image well because it's pixelated.

But if you still have difficulty in ordering, I recommend that you play with the buttons and order priority by dimension.

In any case, can you send me the larger image?

https://www.linkedin.com/in/cristianjorge/
Do not forget to mark as "Accepted Solution" the comment that resolves the doubt.
urielfln
Contributor II
Contributor II
Author

print.png

urielfln
Contributor II
Contributor II
Author

Tentei de várias formas, mas sem sucesso.

cristianj23a
Partner - Creator III
Partner - Creator III

Puedes pasarme tu qvf si en caso no pesa mucho?

Oh enviame mas captura de como tienes tus dimensiones y cual es tu medida.

Estoy seguro que es uno de ellos.

https://www.linkedin.com/in/cristianjorge/
Do not forget to mark as "Accepted Solution" the comment that resolves the doubt.
urielfln
Contributor II
Contributor II
Author

Segue o QVF de exemplo, os dados são fictícios, mas consegui simular o mesmo problema. 

Lembrando que, preciso ordenar o eixo X por ano crescente e o eixo Y por ordem alfabética.