Forum Discussion

aseagull's avatar
aseagull
Icon for Helper IV rankHelper IV
5 years ago
Solved

Custom Tooltips Go Blank After Highlighting in Another Visual

Hi. I have linked a pretty simple PBIX with three bar charts displaying 5 measures. I have included custom tooltip pages for the stacked bar and clustered bar charts.

 

Here is the strange phenomenon: When I click on one of the items in the stacked or clustered bar chart, the tooltips for the non-highlighted options in the *other* chart are blank! Yet the "regular" tooltips (on my simple bar chart) work as expected.

 

I'm also including a picture of what I'm talking about. What is going on? Blank tooltip

17 Replies

    • aseagull's avatar
      aseagull
      Icon for Helper IV rankHelper IV

      Amit, thanks for opening up my file! The problem shows up once I click and highlight / focus one of the data items (say, in the third chart), then hover over an un-highlighted option in the second chart. That's where it comes up blank. (Or vice-versa.) 

       

      In either case, the first chart, with native tooltips, works fine. Do you see that? 

      • koppgova's avatar
        koppgova
        Frequent Visitor

        Hi, Amon
        Did you get any solution for this issue if yes please share that solution if helpful to us

        Thank you
        Govardhan

  • BTW, I published the file to the service and the behavior remains. There must be logic that says I cannot implement a custom tooltip this way. It's not the visual: I switched from a multi-row card to a table and observed the same behavior.

     

    Why does selecting / highlighting a value restrict the data feeding these custom tooltips, and not the built-in tooltips? 

     

    Thanks,

    Amon

     

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi aseagull ,

     

    Once you click one of the item, the other not selected items will be filtered. That's why the tooltip on the selected item will work but the others will not.

     

    Best Regards,

    Jay

    • aseagull's avatar
      aseagull
      Icon for Helper IV rankHelper IV

      Jay, I was afriad that's the solution. It seems like it makes the development of custom tooltips much harder, as I'll have to build dedicated measures (right?) for each of the items in my tooltip, using REMOVEFILTERS or something like that. I will work on that and update the thread when I get it working. (Still a DAX novice.) Thank you!
      Amon

    • aseagull's avatar
      aseagull
      Icon for Helper IV rankHelper IV

      Jay or anyone...I don't see how filtering is the issue...if the other data were filtered out, why does A3's data show up, as in the screenshot below? (Notice I've also pasted in the multi-cards from the tooltip pages.)

       

      Also, it seems to filter out *only* on the visuals where I did *not* click and highlight. Wouldn't the filter apply to all the visuals?

       

      Thank you for reading!

      Amon