Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Highlighted
anubhav123
New Contributor

Link Color expression in QlikSense Sankey Chart Feb 2019 release

Hi,

Can someone tell me how to write color expression in new Sankey Chart in QlikSense Feb 2019 release.

I want coloring of Sankey Chart as shown in the image.

Also there is no option to put labels inside the node.

Please help regarding this.

Attached the image for reference.

Thank you

 

 

 

2 Replies
Benedetta
New Contributor

Re: Link Color expression in QlikSense Sankey Chart Feb 2019 release

Hi,

if you want to put labels inside the node you should increase the node width that you find before the reference of link color.

According to the color of the sankey you can use an expression in the reference link color, something like this:

if(fieldname='Women's wear', Lightblue(),if(fieldname='...', Lightgray(),Darkgray())).

But I can't change the colors of the nodes.

I hope that someone will help us.

 

julian
New Contributor

Re: Link Color expression in QlikSense Sankey Chart Feb 2019 release

As Benedetta has written you can use if(fieldname='Women's wear', Lightblue(),if(fieldname='...', Lightgray(),Darkgray())) for coloring, but instead of doing it in link color you go to Dimension and Node color for the Dimension you wish to color. In Appearance and Link color you can then use either ='SOURCE' or = 'TARGET' to match the color to your Dimension.