Power Bi中的合并查询导致Formula.Firewall错误

时间:2020-02-24 16:19:25

标签: powerbi m

我试图将Power Bi中同一数据库中的表合并在一起,并且收到此错误:

Formula.Firewall: Query 'Query1' (step 'Added Custom') references other queries or steps, so it may not directly access a data source
 Below is an example of how one of my merges look. I tried your staging method and replaced the source with the staged query but still received the error.

下面是我的源代码的示例。如Ken的文章https://www.excelguru.ca/blog/2015/03/11/power-query-errors-please-rebuild-this-data-combination/所述,我设置了一个临时查询以删除外部源,但仍然收到错误。帮助将不胜感激

let
    Source = staging_query
    #"Expanded Document" = Table.ExpandRecordColumn(Source, "Document", {"test1", "test2", "test3", "test4"}),
    #"Merged Queries" = Table.NestedJoin(#"Renamed Columns1", {"test1"}, otherTable, {"test1"}, "otherTable", JoinKind.Inner),
    #"Expanded otherTable" = Table.ExpandTableColumn(#"Merged Queries", "otherTable", {test5", "test6"}, {"test7", "test8"}),

in
    #"Expanded otherTable"

0 个答案:

没有答案