Forum Discussion
darshaningale
4 years agoResolver II
Python with Direct query in PowerBI desktop
I am using Python code to fetch data from SQL server with help of DirectQuery. I want to pass one parameter to the select query and also want to execute python code to generate another set of column...
amitchandak
4 years agoSuper User
darshaningale , As far as I know, the python script method to load data is import mode
darshaningale
4 years agoResolver II
So is it that we cannot write python script for direct query ? Power BI Desktop allows to do it but shows error while executing it.