Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Sgreen83
Contributor
Contributor

Sorting options in Sankey Chart

Hi, I am using the Sense Sankey extension in QlikSense, and I need to sort the order of the nodes by a given dimension. Unlike any other extensions or charts, there is no "Sorting" property to choose from on the right. Additionally, I can't figure out what logic it uses to sort in the first place. The nodes are not in Alphabetical or Numerical order, and they are not in order of the size of the measure used. Does anyone know how to sort the nodes in these charts, or have any ideas for a workaround? Thanks!

Labels (1)
1 Solution

Accepted Solutions
JordyWegman
Partner - Master
Partner - Master

Hi,

This is indeed not possible. What you can do is download the Vizlib Sankey Chart. This gives the possibility to sort on what you want.

Jordy

Climber

Work smarter, not harder

View solution in original post

3 Replies
JordyWegman
Partner - Master
Partner - Master

Hi,

This is indeed not possible. What you can do is download the Vizlib Sankey Chart. This gives the possibility to sort on what you want.

Jordy

Climber

Work smarter, not harder
Sgreen83
Contributor
Contributor
Author

Thank you!

Ashinair
Contributor
Contributor

Hi,

You can use the duel function in the  dimension and it will get you the option to sort  

e.g.

=if(GAME='Cricket ',Dual(GAME,2),

if(GAME='Tennis' ,Dual(GAME,6),

if(GAME='Swimming' ,Dual(GAME,1),

if(GAME='Boxing' ,Dual(GAME,7),

if(GAME='Cycling' ,Dual(GAME,3),

if(GAME='HighJump' ,Dual(GAME,4),

if(GAME='Fencing', Dual(GAME,8),

if(GAME='Acting', Dual(GAME,5),

'Check'))))))))

Ashinair_0-1679999046274.png


Hope it helps