Forum Discussion

RingoSun's avatar
RingoSun
Helper II
4 years ago
Solved

Dynamic Legend Name

So I have this visual right here. The Actual Current Year and Target Current Year are actually two separate measures used as the X-axis Now, I want to make the Target Current Year measure dyna...
  • OzkanDhont's avatar
    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