Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Is it possible to call custom Python scripts from PowerBi via button clicks or any other user triggered event?
Thanks @amitchandak
I have integreted a ML model to powerBI. Script is in Python. Requirement is whenever user trigger an event (in any form button, slicer or any other form on canvas), it has to run python script and generate output based on those parameters. (Want to pass parameters dynamically)
@Anonymous , I doubt that is possible on button press. What you want to.
Power Automate visual has been recently added. But I doubt that has python connector with power bi.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 60 | |
| 45 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 108 | |
| 108 | |
| 41 | |
| 30 | |
| 27 |