Forum Discussion

Vvelarde's avatar
Vvelarde
Community Champion
9 years ago
Solved

Question about legend in Chart

 

Hi Community, have a question about legends in chart.

 

I create a slicer to select what measures shows in the line chart. It works fine except that legend always mantain the first measure in the values section.  (look the first Line Chart), Forecast is not selected and no value is in the chart but still in the legend.

 

In the second Line Chart a find a solution to this but is using a empty measure in first place in Values Section.

 

My question is if exist a direct way to sucess without using this "trick" 

 

Thanks.

 

  • Vvelarde

    I'm not sure how you created the Slicer to select the Measures?

    Did you use a Disconnected Table?

    If so place the Measure column from the New Table in the Legend and

    use the SWITCH measure in the Values not each individual Measure...

2 Replies

  • Sean's avatar
    Sean
    Community Champion

    Vvelarde

    I'm not sure how you created the Slicer to select the Measures?

    Did you use a Disconnected Table?

    If so place the Measure column from the New Table in the Legend and

    use the SWITCH measure in the Values not each individual Measure...

    • Vvelarde's avatar
      Vvelarde
      Community Champion

      Sean

       

      Thanks.

       

      This go to my Library. :smileyvery-happy: