Forum Discussion
Anonymous
2 years agoNot applicable
how to automate my sources? (python and SqlServer)
I have a .pbix in a workspace. The data consists of 4 queries: One query is a Python.Execute the other 3 are Sql.Database. So I have “mixed” sources: python + sql server. ...
ibarrau
Super User
2 years agoHi. Let's see. A SQL Server on Azure could work without a gateway, but a python script can't. If you sql data is in Azure I would consider solving the transformations without Python in order to avoid a gateway. If you can't or your data is on premise, then let's continue with the approach.
The solution here would be Installing an OnPremise Data Gateway in Personal Mode. Why Personal? because that's the only way Power Bi can run python scripts. Consider that "live" it's not an option for python. It will be imported data with scheduled refreshes. Once the gateway was installed and logged in, you can configure the power bi dataset credentials to let it schedule the refresh.
I hope that helps,