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

Trigger python web scraping script with automatic refresh

I have a report with two data sources. One is a excelfile which orignates from data that is webscraped with a python script (using beautifulsoup and selenium). The other is from an oracle database. The report have an automatic refresh/ scheduled refresh (with the on premise gateway), which updates the data from the oracle database.


Is it possible to trigger the python script when the automatic refresh is triggerd? thus updating the source excelfile.

Super User
Super User

@simber , You can write down a code in python table source and when schedule refresh for that, if will run that code again, that should work.


Refer this example

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!
!! Subscribe to my youtube Channel !!

Helpful resources

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Dev Camp Session 22 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!