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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi , I have python script that has stored in local disk and now i want to execute this script in powerbi desktop
File path : "C/Users/DataUpload.py
is there any way to run above script using powerbi Button/ any other way?
Thanks.
Hi @User232431
Power BI doesn’t support running local Python scripts directly with a button. But since your script is just sending an email, you can use the Power Automate visual instead.
Set up a flow in Power Automate that calls your SendGrid logic (via HTTP or Azure Function), then trigger that flow using a button in Power BI.
what is the result of the script? How are you planning to use that result in Power BI?
Script - Which uses SendGrid package to send mails , can this be happen with powerbi Button?Thanks
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 40 | |
| 38 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 141 | |
| 105 | |
| 63 | |
| 36 | |
| 35 |