Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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

I am trying to figure out why this is receiving the the Formula.Firewall error. Can anyone please tell me what is causing the error?

 

 

let
    Source = Passing,
    #"Removed Other Columns" = Table.SelectColumns(Source,{"Season", "PlayerName", "PlayerShortName", "PlayerLastName", "Team", "SeasonPlayerTeamKey"}),
    #"Invoked Custom Function" = Table.AddColumn(#"Removed Other Columns", "fxGetQBProfiles", each fxGetQBProfiles([Season], [PlayerName])),
    #"Expanded fxGetQBProfiles" = Table.ExpandTableColumn(#"Invoked Custom Function", "fxGetQBProfiles", {"PlayerURL", "Position", "PlayerImgURL"}, {"PlayerURL", "Position", "PlayerImgURL"})
in
    #"Expanded fxGetQBProfiles"

Capture.PNG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I was able to find the solution. I aggregate the columns in my staging table and it had no issues.

View solution in original post

5 REPLIES 5
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

Ken Puls blogged about this here

http://www.excelguru.ca/blog/2015/03/11/power-query-errors-please-rebuild-this-data-combination/

 

In addition, you could refer to this two similar threads which has been solved.

 

https://community.powerbi.com/t5/Desktop/Formula-Firewall-Query-references-other-queries-or-steps-so-it/td-p/491528

 

https://community.powerbi.com/t5/Desktop/Formula-Firewall-Query-references-other-queries-or-steps/td-p/355582


Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

I have read through everything you sent and I am still not understanding the issue. I have a staging table for the variables I am trying to pass into the function to give me the values. What am I missing?

Hi @Anonymous,

 

What's the kind of passing source? So that I can have a test to reproduce your scenario to research for this issue.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

I was able to find the solution. I aggregate the columns in my staging table and it had no issues.

Hi @Anonymous,

 

It's glad that you have solved your problem.

 

Please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.