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: 
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)
10 Replies
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.