This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I believe I've found a bug where a python visual will not display as a tooltip. It doesn't plot anything, but just shows as blank.
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()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.