Forum Discussion
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
- Anonymous5 years ago
Hi aseagull ,
You could submit this as an idea here:
https://ideas.powerbi.com/ideas/
Best Regards,
Jay
17 Replies
- amitchandak
Super User
- aseagull
Helper 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?
- koppgovaFrequent Visitor
Hi, Amon
Did you get any solution for this issue if yes please share that solution if helpful to us
Thank you
Govardhan
- aseagull
Helper IV
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
- AnonymousNot 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
Helper 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
Helper 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
- aseagull
Helper IV
All, I've uploaded a slightly simpler version, with no measures.
https://www.dropbox.com/s/0ilwvz7tc6z8ceq/Bars%20and%20ToolTips.pbix?dl=0
I figure this has got to be user error, but I can't make sense of it. Will I end up learning how to file a bug report? Would anyone claim that this is by design: highlighting a data value filters it in other visuals, but not the one where you clicked it? ...smh...