Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi
I have a fairly simple question - is it possible to create a tooltip page with a python visual on it? It doesn't seem to work for me. Testing other visuals on the same tooltip page works fine, but for the python visual it just remains blank when used as a tooltip. Is this a known limitation?
That should work. Is the dataframe empty maybe?
@lbendlin thanks for the reply. At this point, I'm pretty sure it's a current limitation. I've made a simple python chart that plots a line from (0,0) to (1,1) not using any actual data from my report. I have thrown a measure in the visual field well since it needs one to plot anything. It's a simple SELECTEDVALUE measure. When I look at the tooltip page itself (as in not via a tooltip from another report page), the python plot works, even though I have no value for the SELECTEDVALUE measure. (Python plot on the left, card visual with the same SELECTEDVALUE measure on the right)
When I look at the tooltip from another report page (using actual tooltip behavior), the plot doesn't draw anything, even though the SELECTEDVALUE measure does have a value.
If it matters, my python code is
import matplotlib.pyplot as plt
# Define the x and y coordinates of the line endpoints
x_values = [0, 1]
y_values = [0, 1]
# Plot the line
plt.plot(x_values, y_values)
# Display the plot
plt.show()
I would say that this might be a bug as I could not find any mention of a limitation in the tooltips documentation. You can raise an issue at https://issues.powerbi.com . If you have a Pro license you can consider raising a Pro ticket at https://powerbi.microsoft.com/en-us/support/pro/
thanks. if anyone has a similar issue and cares enough, they can upvote this issue here:
https://community.powerbi.com/t5/Issues/Python-visual-not-loading-in-tooltip/idi-p/3225204
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
57 | |
55 | |
55 | |
37 | |
30 |
User | Count |
---|---|
78 | |
66 | |
45 | |
44 | |
40 |