Forum Discussion
SCTDev
9 years agoAdvocate I
DirectQuery option disabled to SQL Server database
I have Personal Gateway installed and connected to the database I want to use. How do I activate the DirectQuery option within PBI Desktop when trying to Get Data? Is there a setting somewhere t...
- 9 years ago
Yes. You are right. You can use either of this ( Direct Query or Import) in a single .pbix file.
BhaveshPatel
9 years agoSuper User
You do not need any gateway or anything else to connect with sql server in direct query mode.
When you choose to connect to the SQL Server Instance, It will ask you to choose either Import or Direct Query mode.
See below screenshot.
DirectQuery connection
- SCTDev9 years agoAdvocate I
My option is dimmed and therefore unselectable. Likely because I already used the Import feature for previous data and it won't let me select data using both methods. Of course, I am not certain of this.
- BhaveshPatel9 years agoSuper User
Yes. You are right. You can use either of this ( Direct Query or Import) in a single .pbix file.