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 Experts
Is it possible plot a Python Candlestick chart based on the data point that has been selected in the Power BI Visual Line Chart and return that selected data point as a variable back to the Pythin Script.
i want to be able to select on the Cumulative PNLogram Line chart in the attached file a single data point and based on that selected data point - run the pythin script on Page 1 Tab (power BI Attached file).
At present i cannot tell python what that single data point - its confused....
https://www.dropbox.com/s/1ho6v3esw7i4fc5/Python.pbix?dl=0
Solved! Go to Solution.
unmarked the solution. I have not much expertise in Python visuals - you will want to make sure it renders ok with sample data befoe trying to use it as a tooltip.
Hi Even with you solution - i cannot get the python to plot the chart - thats my issues. A working solution.
Sorry to be a pain sir.
you haven't specified a tooltip for your chart visual. I fixed the plumbing for you. See attached.
Next step you need to provide all the data for your dataframe as part of the link, so whatever fields your Python script needs must also be present in the chart (try hiding the fields in the axis hierarchies)
Hi Ibendin
can you kindly help - TOTALLY STUCK
https://community.powerbi.com/t5/Desktop/Plot-Python-Visual-as-a-Tooltip-based-on-selected-data-poin...
Do you want me to unmark the solution? Where are you stuck?
any luck? Ibendlin>
Hi Ibendlin
Sorry marked as completed by accident, I cannot plot the Python visual that where i am stuck to get a complete wotking solution
unmarked the solution. I have not much expertise in Python visuals - you will want to make sure it renders ok with sample data befoe trying to use it as a tooltip.
User | Count |
---|---|
59 | |
58 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
40 | |
39 |