This content has been marked as final. Show 2 replies
I would like to change the color of the bar of the graph according to a calulated dimension.
It works fine with a "basic" dimension, using the background color attribute in the expression menu using for example :
=if(completeness > limitCompleteness, green(), red())
with completeness the dimension.
But I f a use a calculated dimension, for example, :
round(if(completeness >= $(limitCompleteness),completeness,$(limitCompleteness)),0.5)
, null()), null())
then the color of the bar is no more changed.
Do you have any idea why ?
Thanks in advance !