Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Kaemi
Regular Visitor

How to remove the box that appears when I hover over it?

Hello, I would like help with an issue I'm experiencing. I created a calendar with the months, and when I hover over a square, a box with the code I used appears. If someone could help me remove this or optimize my code, I would appreciate it. I'll leave the image and the code below.

 

Kaemi_0-1704992596584.png

 

Animated Calendar v1 =
VAR vForm_fds_bg =
SWITCH(
TRUE(),
SELECTEDVALUE(Fato[Program]) = "BBP - Overstock","#919191",
SELECTEDVALUE(Fato[Program]) = "Zero Rate - Banco John Deere" &&
SELECTEDVALUE(Fato[Program]) = " " && SELECTEDVALUE(Fato[Month]) = "November","#FFFFFF",
"#F2A900"
)
RETURN
"
data:image/svg+xml;utf8,
<svg width='200' height='200' viewBox='0 0 200 200' fill='none' xmlns='http://www.w3.org/2000/svg'>
<defs>
<style>
:root {
--font: calibri;
--txt_day_size: 50;
--txt_day_color: "";
--txt_labels_size: 27;
--txt_labels_color: #000;
--bg_background: " & vForm_fds_bg & ";
--bg_border_color: ;
}
</style>
</defs>
<rect id='background' x='4' y='4' width='192' height='192' fill='var(--bg_background)' stroke='var(--bg_border_color)' stroke-width='8' rx='5' />
</svg>
"

 

I have already tried to edit the tooltip, but it didn't change anything.

1 ACCEPTED SOLUTION

Thank you very much for the answer. The tooltips were already disabled, but I ended up solving it by setting the background transparency to the maximum.

Kaemi_0-1705060396363.png

View solution in original post

2 REPLIES 2
Ritaf1983
Super User
Super User

Hi @Kaemi 
just switch off the option of the tooltip on the visual that you are using.

Ritaf1983_0-1705045893702.png

 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Thank you very much for the answer. The tooltips were already disabled, but I ended up solving it by setting the background transparency to the maximum.

Kaemi_0-1705060396363.png

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.