Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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.
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.
This works perfectly. Thanks