Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 19 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 60 | |
| 52 | |
| 47 | |
| 40 | |
| 38 |