Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have a line chart and the dimension used in Country. It is a master dimension.It contains a variable vCountry which is nothing but the country field. The color property is set to color by dimension but the color appears to be gray. I edited the master dimension,removed the variable $(vCountry) and directly used the Country field. The color appeared.
Any idea why does the color turns to gray when variable is used?
Thanks in advance
Anusha
This seems to be working.
I changed the definition of variable to [Country] from Country and the color appears.
Don't understand how it makes a difference.
Hi,
did you try using the same variable when you put color as expression ?
Hi,
Yes. I did. It is still gray
Hi Anusha,
Try giving Column Name , Instead of Expression at the Place of Color Expression ..
Regards
PM
Hi Anusha,
your variable should evaluate to the dimension name...I think your evaluating at the dim level ? could give your variable definition also
Hi Avinash,
Sure
Variable name: vCountry
Definition: Country
In the master Dimension: =$(vCountry)
do you have calculation here ? because if you just have the dim name you could directly use it rite? why the need of variable
You Can try this as Color Expression
='$(vCountry)'
We use variables in most of the places. They are created in an excel file and this excel file will be loaded to the application.
no calculation
This seems to be working.
I changed the definition of variable to [Country] from Country and the color appears.
Don't understand how it makes a difference.