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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 111 | |
| 109 | |
| 40 | |
| 33 | |
| 26 |