Qlik Community

Ask a Question

Qlik Sense Advanced Authoring

Discussion board where members can learn more about Qlik Sense Advanced Authoring.

Welcome to our newly redesigned Qlik Community! Read our blog to learn about all the new updates: READ BLOG and REPORTED ISSUES
Showing results for 
Search instead for 
Did you mean: 
Contributor II
Contributor II

Function for changing target/source coloring of Sankey

I have a 3 dimension Sankey chart that I would like to have the links colored based on the source for the first link (between dimensions 1 and 2) and colored based on target for the second link (between the 2nd and 3rd dimension).

How do you detect which link you're on? I'm trying to do this:


Labels (3)
2 Replies
Contributor II
Contributor II

Anyone... crickets...

Contributor II
Contributor II


I have the same needs but Im still trying to find a way to do this..

Tried with dimensionality() or fixing SOURCE/TARGET to field value but from what I understand, SOURCE/TARGET is applied to the whole links.

I also tried by fixing links color on field value, like : if(Dim1='A',Red(),if(dim1='B',Green(),if(dim2='AA',Blue()))) but the colors only apply to the first dimension throughout the whole chart, splitting your second links from your first dimension..