Forum Discussion
Dynamic Legend Name
- 4 years ago
Hi RingoSun !
I would recommend using the new field parameter feature.
Go to Modeling > New Parameter > Fields > Select the measures you need, [TargetCY] and [ActualLY].
Apply the newly created Parameter in your visuals instead of the two measures and apply the parameter to your slicer aswell.
Field parameters: https://www.youtube.com/watch?v=LTdpe2ENW4M&t=375s
Hope it helps!
Kind regards,
OD
Hi RingoSun !
I would recommend using the new field parameter feature.
Go to Modeling > New Parameter > Fields > Select the measures you need, [TargetCY] and [ActualLY].
Apply the newly created Parameter in your visuals instead of the two measures and apply the parameter to your slicer aswell.
Field parameters: https://www.youtube.com/watch?v=LTdpe2ENW4M&t=375s
Hope it helps!
Kind regards,
OD
Hi,
I kind of have a similar problem and was wondering if you know the answer. I have used a line and clustered column chart where I plot the time series data for two quarters based on the selection from the slicer and then the difference between them as bars. I want that whichever quartes are selected from the slicer should be displayed as the legend of the chart but can't figure out how I can achieve that.
So in this image posted below you can see that instead of Release1 and Release2 I want to display the name of the quarters that are selected. I cannot pass these names through a measure because the chart allows only column legend and nothing for lines. I cannot set the variable name to change dynamically.