• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Formula.Firewall error when using filename parameter|Power Query|Excel Forum|My Online Training Hub

You are here: Home / Formula.Firewall error when using filename parameter|Power Query|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumPower QueryFormula.Firewall error when using f…
sp_PrintTopic sp_TopicIcon
Formula.Firewall error when using filename parameter
Avatar
baxbax
Member
Members

Power Query

Power Pivot
Level 0
Forum Posts: 105
Member Since:
July 11, 2016
sp_UserOfflineSmall Offline
1
September 19, 2020 - 2:38 am
sp_Permalink sp_Print

Hi,

I have created a query that picks up the source file from a cell in the Excel worksheet. This is to allow the user to easily change the file that they want the query to address.

I posted the file with the query to a network location so others could use it. The queries run fine for me but whenever anyone else tries to refresh them they get an error that states "Formula.Firewall: Query 'Query_Forecast' (step 'Source') references other queries or steps , so it may not directly access a data source. Please rebuild this data combination.

The privacy levels are set to none and ignore privacy levels. The users who are trying to run the queries all have the same permissions on the network folder as I do.

I have attached the file containing the queries (Power_Query_Formula_Firewall_Error.xlsx) and the source file it is trying to look at (PQ_Use_Sheet_Name_Source_File.xlsx). The cell R2 in the first file is where the filepath and name is entered to allow the user to change the file they want to look at.

Any help as always greatly appreciated.

Thanks

 

Bax

sp_AnswersTopicSeeAnswer See Answer
Avatar
Mike Mckinney

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
September 20, 2020
sp_UserOfflineSmall Offline
2
September 20, 2020 - 5:17 am
sp_Permalink sp_Print

I recently encountered this problem for almost the same reason.

I ended up using creating a new parameter, and instructing the other users on how to change the parameter itself.

I edited your workbook and created a parameter to access the file and had no formula firewall issues.

Avatar
baxbax
Member
Members

Power Query

Power Pivot
Level 0
Forum Posts: 105
Member Since:
July 11, 2016
sp_UserOfflineSmall Offline
3
September 21, 2020 - 8:39 pm
sp_Permalink sp_Print

Hi Mike,

Thanks for the reply and the file. I was trying to avoid the need for the users to launch the query editor. I wanted to pick the value up from the worksheet. I can't see how this is done with the parameter you added. If it is possible can you let me know how?

Also the thing that is confusing me is that how I set it up works for me but not for others.

Thanks

 

Bax

Avatar
Mike Mckinney

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
September 20, 2020
sp_UserOfflineSmall Offline
4
September 22, 2020 - 7:33 am
sp_Permalink sp_Print

Ah, I see. In my case I was wanting to make it harder for someone to unintentionally change the parameter.

I have attached a workbook that should work for what you are wanting, and won't generate the formula firewall error.

sp_AnswersTopicAnswer
Answers Post
Avatar
baxbax
Member
Members

Power Query

Power Pivot
Level 0
Forum Posts: 105
Member Since:
July 11, 2016
sp_UserOfflineSmall Offline
5
September 23, 2020 - 12:16 am
sp_Permalink sp_Print

Hi Mike,

Thanks for taking the time to look at this again. I can see what you have done differently to my original query. As mentioned mine worked for me but not for other users. I will adopt your method and get one of the others to test. I will report back when done.

Thanks

 

Bax

Avatar
baxbax
Member
Members

Power Query

Power Pivot
Level 0
Forum Posts: 105
Member Since:
July 11, 2016
sp_UserOfflineSmall Offline
6
September 24, 2020 - 8:27 pm
sp_Permalink sp_Print

Hi Mike,

I got the other users to test the refresh with the query updated to use your method. I can confirm that it all worked fine so problem solved.

Thanks for your help.

Regards

Bax

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Jeff Krueger, Shanna Henseler
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
John Chisholm
vexokeb sdfg
John Jack
Malcolm Toy
Ray-Yu Yang
George Shihadeh
Naomi Rumble
Uwe von Gostomski
Jonathan Jones
drsven
Forum Stats:
Groups: 3
Forums: 24
Topics: 6212
Posts: 27237

 

Member Stats:
Guest Posters: 49
Members: 31889
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.