cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
markive Regular Visitor
Regular Visitor

Formula.Firewall Query Foo references other queries, so it may not directly access a data source.

I am creating a lot of reports but they always hit the same API's on my app. To try to speed up the manual creation of reports I created a table called APISettings with a ProjectURL column. This means I only need to change a single field to reconnect all my queries to another URL.

 

This works great, but now I cannot merge two tables in PowerQuery as it gives me the error:

 

Formula.Firewall Query Foo references other queries, so it may not directly access a data source.

Doing some research in PowerPivot you could just set this setting to be ignored, but I cannot see how to do this in PowerBI?

 

Is there another way of registering my DataSource so that multiple queries all KNOW they are accessing the same one and can therefore allow merge etc?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
pqian Senior Member
Senior Member

Re: Formula.Firewall Query Foo references other queries, so it may not directly access a data source

Hi @markive, the Firewall error is thrown when one evaluation is trying to access more than one data sources. Normally we partition your query automatically to split it into multiple evaluations across data sources, but there are some cases where this partitioning isn't smart enough. Can you post the query which has this problem?

 

Alternatively, you can turn this off in Options->Global->Security->Privacy Levels->Always Ignore (machine wide), or Options->File->Privacy (for the current file)

4 REPLIES 4
pqian Senior Member
Senior Member

Re: Formula.Firewall Query Foo references other queries, so it may not directly access a data source

Hi @markive, the Firewall error is thrown when one evaluation is trying to access more than one data sources. Normally we partition your query automatically to split it into multiple evaluations across data sources, but there are some cases where this partitioning isn't smart enough. Can you post the query which has this problem?

 

Alternatively, you can turn this off in Options->Global->Security->Privacy Levels->Always Ignore (machine wide), or Options->File->Privacy (for the current file)

markive Regular Visitor
Regular Visitor

Re: Formula.Firewall Query Foo references other queries, so it may not directly access a data source

@pqian thanks! I didn't know about that settings.. 

 

I can't find the Machine Wide setting, but the Current File one has done the trick!

madji Regular Visitor
Regular Visitor

Re: Formula.Firewall Query Foo references other queries, so it may not directly access a data source

Highlighted
JulianPayne_i4 Frequent Visitor
Frequent Visitor

Re: Formula.Firewall Query Foo references other queries, so it may not directly access a data source

How can I do this in Visual Studio for AAS?

Helpful resources

Announcements
Back to School Contest

Back to School Contest

Engage and empower students with Power BI!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Summit Australia 2019

Summit Australia 2019

Travel to Melbourne and network with thousands of peers!

PBI Community Highlights

PBI Community Highlights

Check out what's new in the Power BI Community!

Top Ideas
Users Online
Currently online: 127 members 1,433 guests
Please welcome our newest community members: