6 Replies Latest reply: Apr 18, 2014 11:12 AM by Massimo Grossi RSS

    Maintain RGB colors (with use of variable)

      I've made an overview of colors to use on my dimensions:

       

      =if([X]='1',RGB(0,0,0),

      if([X]='2',RGB(255,0,0),

      if([X]='3l',RGB(200,164,31))))

       

      When I apply this colormapping in 'Expressions - Backgroundcolor' everything goes well. But when created a variable that contains the above expression and saved as '=$(vColor)'., when I use the variable '=$(vColor)' in 'Expressions - Backgroundcolor' it does't seem to work.