Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi folks;
I'm running into some issues here with svg visual tooltips. I created svg-based data bars for one Calculated Measure, but after i applied it in table, in both Power BI desktop and Power BI service, when i hover over the svg visuals i'll see original XML scripts. As you see in below picture.
I asked AI for some workarounds but none of the solutions it gives me actually works. For example, adding '"<title></title>"' after "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 45'>" or customize it so it will show something like 'Variance bar: +12.3%'. And turning off the tooltips seems not an option either.
Did anyone of you run into this problem in the past and have some workarounds? as long as it shows no tooltip in Power BI service i guess it would be okay, since the audiences might get confused with these scripts...
thank you!
Mason
Solved! Go to Solution.
Hi @MasonMA
Thank you for reaching out to the Microsoft Fabric Forum Community.
@danextian thanks for your inputs,
@MasonMA The suggesion given by @danextian was correct, if you need any other support,
Please consider raising a Microsoft support ticket for further investigation. You can explain all the troubleshooting steps you have taken to help them better understand the issue.
You can create a Microsoft support ticket with the help of the link below:
How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn
If this helps, please accept it as a solution and drop a "Kudos" so other members can find it more easily.
Thank you.
For the moment, i used one blank shape and put it on top of the matrix table. It wouldn't be a perfect solution from a developer's point of view because it impacts users scrolling the rows.
Please let me know if you guys have better solutions. thanks
Hi @MasonMA
Thank you for reaching out to the Microsoft Fabric Forum Community.
@danextian thanks for your inputs,
@MasonMA The suggesion given by @danextian was correct, if you need any other support,
Please consider raising a Microsoft support ticket for further investigation. You can explain all the troubleshooting steps you have taken to help them better understand the issue.
You can create a Microsoft support ticket with the help of the link below:
How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn
If this helps, please accept it as a solution and drop a "Kudos" so other members can find it more easily.
Thank you.
Thanks for following up! The conclusion is the tooltip for svg now still has bugs. I'll submit a ticket on Microsoft. And thank @danextian for the workaround!
Hi @MasonMA
I've read posts that turning off tooltips in the visual works but it doesn't seem to be the case on my end. I would just use a 1px by 1px page as a tooltip.
Hi @danextian
Could you elaborate a bit more about using a 1px by 1px page as a tooltip? i'm not quite sure how to do this.
It's also weird that when i revisit my visuals this morning i noticed on two similar matrix tables that both use same svg measure, one has tooltips showing but the other one doesn't. Both have Tooltips under Property turned off...
Thanks
Mason
Use a blank page as a tooltip. Resize it to 1px by 1px. You will still see that triangle when hovering a visual but the page itself won't be visible.
User | Count |
---|---|
84 | |
77 | |
76 | |
43 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
45 | |
43 |