Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
maessery
New Member

How to Implement Python code and Send Emails

I am currently working on a project that involves identifying certain customers and then alerting their dedicated sales reps individually. I am looking to automate this process with python. As of right now in order to achieve my goal, my process would be quite manual: 1) pull the data from our data warehouse with powerbi, 2) load the dataset into a jupyer notebook file, then 3) run my scripts. The problems with this approach are : 1) it is not automated, and 2) I am unable to effectively analyze my entire dataset due to the export size constraints in powerbi. Is there a way to integrate my python code into power bi so that i can automate the entire processs?

1 ACCEPTED SOLUTION
vanessafvg
Super User
Super User

have you thought of using power automate from power bi?

 

when you say its not automated, are you publishing this into the service?  I am not quite sure what you are struggling with, can you identify the issues you are having.  Power BI be can  be automated and you can run python scripts in power bi.

 

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-python-scripts

 

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Anonymous
Not applicable

please share the solution 

vanessafvg
Super User
Super User

have you thought of using power automate from power bi?

 

when you say its not automated, are you publishing this into the service?  I am not quite sure what you are struggling with, can you identify the issues you are having.  Power BI be can  be automated and you can run python scripts in power bi.

 

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-python-scripts

 

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.