Qlik Community

App Development

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

QlikWorld 2022, LIVE in Denver CO., May 16-19, 2022. REGISTER NOW TO RECEIVE EARLY BIRD PRICING
Showing results for 
Search instead for 
Did you mean: 
Contributor II
Contributor II

Node color expression in Sankey Diagram (Qlik Visualization Bundle)



Im trying to set node's color automatically instead of setting a fixed color for each dimension value.

I found a trick using this :

Color(round(255*rand( ),1))

But does anyone ever tried to set color by measure value ?

I tried this in Node Color exp :

if( MyMeasure>500,Red(),Green())

But the value displayed differs from the value measured in Node color :

AB = 511, so is > 500, but still green coloredAB = 511, so is > 500, but still green colored

but when I change my Node Color Exp to :

if( MyMeasure=75,Red(),Green())

AB is now Red..AB is now Red..

My goal is to have a gradient Color by measure like we can have in all other elements.



Labels (2)
0 Replies