Qlik Community

Qlik Sense App Development

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

Announcements
BI & Data Trends 2021. Discover the top 10 trends emerging in today. Join us on Dec. 8th REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor II
Contributor II

Node color expression in Sankey Diagram (Qlik Visualization Bundle)

Hi,

 

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.

 

Thanks

Labels (2)
0 Replies