cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
commodity_check
Helper II
Helper II

What is the benefit of importing a dataframe through a python script instead of :

Hi all,

 

We have a lot of Python scripts which run automatically once a day before everyone starts working. The script spits out csv and text files, which are refreshed in Power BI. So when someone starts working they have up to date data in Power BI.

 

I recently discovered that I can automatically run the python scripts in Power BI and then import the pandas dataframe. However, I was simply wondering what is the added benefit of this?

We need to create historical data so we need to spit out CSV's anyway and importing a csv file doens't take a lot of time. So why would you bother importing the dataframe directly by connecting the Python script to Power BI?

 

I was just wondering

 

Kind regards,

 

1 ACCEPTED SOLUTION
Greg_Deckler
Super User IV
Super User IV

@commodity_check Keeps everything in the Power BI file for ease of maintenance. Automatic refresh would run the Python script to get the latest data instead of having a 2 step process.


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
Greg_Deckler
Super User IV
Super User IV

@commodity_check Keeps everything in the Power BI file for ease of maintenance. Automatic refresh would run the Python script to get the latest data instead of having a 2 step process.


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps