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.
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.
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.
Solved! Go to 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.
Hi @Kaemi
just switch off the option of the tooltip on the visual that you are using.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
102 | |
101 | |
78 | |
70 | |
64 |
User | Count |
---|---|
140 | |
106 | |
100 | |
83 | |
73 |