Forum Discussion
User232431
1 year agoHelper III
Execute external python script in power bi
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 pow...
rohit1991
1 year agoSuper User
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.