I have written a program to carry out a complex calculation with multiple python scripts that queries multiple database tables. Is it possible to run the main() python script that imports the other python files from Power bi?
I have written a program to carry out a complex calculation with multiple python scripts that queries multiple database tables. Is it possible to run the main() python script that imports the other python files from Power bi?
Of cause you can run multiple Python scripts in Power BI to import data into the data model, but there are some considerations:
You don't need a "main" script to control the others. They are all executed on a Power BI data refresh request.
For more information read this:
https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-python-scripts