在 Power BI 中从 "Import" 更改为 "Direct Query"
Change from "Import" to "Direct Query" in Power BI
我在 Power BI
中有 2 个查询
一个是导入,另一个是直接查询
我正在查看两个查询的 Advance Editor。
他们看起来完全一样,从来没有什么区别
如何从高级编辑器中将导入查询更改为直接查询?
导入查询脚本
let
Source = Sql.Database("DSServer", "DSDB", [Query="EXEC stat_DailyNumbers"])
in
Source
直接查询脚本
let
Source = Sql.Database("DSServer", "DSDB", [Query="EXEC stat_DailyNumbers"])
in
Source
查询方式不能切换
解决方法:
1. copy the code from your advanced editor to notepad.
2. Create a new query, where you will be able to choose direct query / import.
3. Open advanced editor for the new query and paste the code you copied earlier.
我在 Power BI
中有 2 个查询一个是导入,另一个是直接查询
我正在查看两个查询的 Advance Editor。
他们看起来完全一样,从来没有什么区别
如何从高级编辑器中将导入查询更改为直接查询?
导入查询脚本
let
Source = Sql.Database("DSServer", "DSDB", [Query="EXEC stat_DailyNumbers"])
in
Source
直接查询脚本
let
Source = Sql.Database("DSServer", "DSDB", [Query="EXEC stat_DailyNumbers"])
in
Source
查询方式不能切换
解决方法:
1. copy the code from your advanced editor to notepad.
2. Create a new query, where you will be able to choose direct query / import.
3. Open advanced editor for the new query and paste the code you copied earlier.