Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Trigger Python script in PowerBI workflow


I have a python script that I cannot run in the PowerBI Python Scription option since it is to complex. The script calculates some statistics based on data within my Azure DB and puts the data into a table called "Statistics".

I have a PowerBI Report and Dashboard that is based on this Statistics Table. And that has to be refreshed as soon as data in a given table of the Azure DB changes.

I figured out that I can use Microsoft Flow ( Minute: 8:41) to trigger a refresh of the Dashboard but I am not sure how to trigger the python script within this workflow.


If there is anyone who can help me out that would be great.


Thanks in advance!

New Member

What was your solution? 

Community Support
Community Support

Hi @Ruedi007 ,


You may refer to the links:,, .


Best Regards,



Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Power BI Womens Summit 2021 768 x460.jpg

Interviews, learning sessions, allies, and more!


Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!