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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Ruedi007
Frequent Visitor

Trigger Python script in PowerBI workflow

Hello!

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 (https://www.youtube.com/results?search_query=microsoft+flow+powerbi 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!

2 REPLIES 2
Anonymous
Not applicable

What was your solution? 

v-xicai
Community Support
Community Support

Hi @Ruedi007 ,

 

You may refer to the links:

 

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

 

https://community.powerbi.com/t5/Desktop/how-to-get-amp-process-data-from-amp-using-python-scripts/t...,

 

https://www.sqlshack.com/power-bi-desktop-and-python-like-peanut-butter-and-chocolate/ .

 

Best Regards,

Amy 

 

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

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.