When using an expression to apply color, there is no longer a legend. A great solution to this is to create a Master Dimension an apply the color in the master item. same principle works if you're coloring by measure. The trick is to create the measure/dimension then re-edit the item to have the ability to adjust the color.
Thank you Joe. I can color measures in master items... but not dimensions. How do you would you do it?
Actually, i've tried to create a dimension on master items with this expression
but it doesn't work...
Instead of using a chart with 1 measure and 2 dimension, i could use 1 dimension and x measures (defined on master items where I can color them), but that would take me too much time...