Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I've made an overview of colors to use on my dimensions:
=if(
if(
if(
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.
try to define the variable without = (see image)
if([Indicatif]='AAAA',RGB(0,0,0),
if([Indicatif]='BBBB',RGB(255,0,0),
if([Indicatif]='GGGG',RGB(200,164,31))))
background expression
$(vColor)
Use
=vColor without $ ....
Let me know
Use $(vColor)
try to define the variable without = (see image)
if([Indicatif]='AAAA',RGB(0,0,0),
if([Indicatif]='BBBB',RGB(255,0,0),
if([Indicatif]='GGGG',RGB(200,164,31))))
background expression
$(vColor)
Thanks Massimo. Now when I adjust the rgb code in the variable, the colors change automatically (which until now had not yet succeeded).
Write a variable like
Let vColor =if(
And in the Background use it like =$(vColor) or you can use vColor
Please close this discussion by giving Correct and Helpful answers to the posts which are useful for you. It helps others in finding answers for similar scenarios.