I'm having issues with the "Formula.Firewall" error in Power Query ("Formula.Firewall: Query 'Source_Query' (step 'Promoted Headers') references other queries or steps, so it may not directly access a data source. Please rebuild this data combination.") and simply cannot find the answer.
I have the following,
- A named range called Parameter_Source
- A query with the following code called SourceFile
I then am creating a second query with the following:
This results in the firewall error.
What is the cause of this?
I have the following,
- A named range called Parameter_Source
- A query with the following code called SourceFile
Code:
let
Source = Excel.CurrentWorkbook(){[Name="Parameters!Parameter_Source"]}[Content]{0}[Column1]
in
Source
I then am creating a second query with the following:
Code:
let
Source = Excel.Workbook(File.Contents(SourceFile)),
page_Sheet = Source{[Item="page",Kind="Sheet"]}[Data],
#"Promoted Headers" = Table.PromoteHeaders(page_Sheet)
in
#"Promoted Headers"
This results in the firewall error.
What is the cause of this?
Last edited: