Forum Discussion
SCTDev
Advocate I
9 years agoDirectQuery 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.
v-sihou-msft
Microsoft Employee
9 years ago
You just need to select "Direct Query" when "get data" from SQL Server Database as BhaveshPatel mentioned. Since there're limitation for DAX calculations when using Direct Query, you may "allow unrestricted measure in Direct Query Mode".
For more details, please see: Use DirectQuery in Power BI Desktop.
Regards,