Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Switch slicer: make tooltip label change when data changes

Hi PBI community,

 

I have a graph, and it uses measures to switch between different datasets (so click the slicer and it switches between [SA Emp Employment (FTE) measure] or [SA RVA measure]).

 

e.g. SA Emp/RVA switch = If(Max('Switch Slicer'[Number])=1,[SA Emp Employment (FTE) measure],[SA RVA measure])

 

Unfortunately the tooltip name doesn't change when dataset 2 ([SA RVA measure])is selected. Is there a way for the tooltip to switch so that it reflects the slicer selection?

 

In the below screenshot employment has been selected in the LHS slicer and the tooltip correctly displays the name as employment. 

 

However, in this screenshot Value added has been selected but the tooltip remains showing the same name. Ideally, I want it to show "Value added".

 

It's showing the name in the "size" field well (below). I have no idea how that might change with the switch, but there could be a work around. Ideas, suggestions welcome!

 

 

 

Cheers,

Brent

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    According to your last screenshot, you are putting the Employment (FTE) in the field. The tooltips will always show the column/measure name instead of the selected value in the slicer. You may consider to create a tooltip page instead.

     

    Best Regards,

    Jay