Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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,
Solved! Go to Solution.
@Anonymous 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.
@Anonymous 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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!