How to fix the Formula Firewall in Power Query | Excel Off The Grid

Поделиться
HTML-код
  • Опубликовано: 2 ноя 2024

Комментарии • 40

  • @jimfitch
    @jimfitch 9 месяцев назад +2

    Brilliant! I have encountered this error many times, never realized there were 2 Formula.Firewall errors, & solved them by ignoring privacy levels (which made me squeamish). Now, I know why they occur, to pay attention to the error type, & how to fix them (without feeling squeamish). Thank you!

  • @kebincui
    @kebincui Год назад +2

    Best video in explaining this annoying issue so clearly. Thanks Mark👍👍

  • @excel-in-g
    @excel-in-g Год назад +2

    Finally an explanation that makes sense. Got to revisit some privacy levels settings now... Thank you Mark for both 😛

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Год назад +2

      I was hoping to create a video that actually made sense of this error, so I’m glad that came across. 😀

  • @excelisfun
    @excelisfun Год назад +1

    This is a great video!!! Thank you very much : ) : ) Although I have created videos on the same topic, I am coming to your video because of what appears to be a new issue. I have been using Excel tables from within the current workbook as queries and then stacking them like: Source => Query1 => Query 2 for almost 10 years when I create queries for lookup tables. I have NEVER seen this error in this situation before, but today, the hated "references other queries or steps, so it may not directly access a data source. Please re-build the data combination" error reared its ugliness. Did Microsoft change this recently? I just see no way whatsoever that with the 20 or 30 times I have used lookup tables in Power Query over the last decade that I could have not seen this. Any ideas?

    • @excelisfun
      @excelisfun Год назад

      P.S. Subbed and Thumbs Up : ) : )

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Год назад

      Hi Mike - Firstly, thanks for watching my video.
      I'm not aware of any change in the behavior that you've described.
      Though I have had an issue recently with a new error: Formula.Firewall MultipleUnclassified/Trusted error
      It doesn't stop the refresh, but it does show an error message. From what I can tell, it was an error which was fixed in 2015 and now it's returned. I've reported it to Microsoft.
      So whether that is related in some way.
      Have you tried opening one of the files where it has worked in the past? In theory, you should get the same error as the new file. If it doesn't error, it might point you to another solution.
      Feel free to find my email address in one of my messages to the Excel MVP DL and send me the file the look at.

    • @excelisfun
      @excelisfun Год назад

      @@ExcelOffTheGrid Thanks for post back, Excel Teammate!!! I did many tests and iterations to try and figure out what was causing this seemingly impossible error (cuz they are from same source at same privacy level), but never tracked what the cause was. I have not seen this situation before or since, so I am chalking it up to Excel gremlin...

  • @GrainneDuggan_Excel
    @GrainneDuggan_Excel Год назад +2

    Thanks Mark for such a thorough and clear explanation! Firewall errors can be very frustrating when you don't know what these messages are really saying.

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Год назад

      Thanks 😁
      Hopefully it will help lots of people.

  • @houstonsam6163
    @houstonsam6163 Год назад +1

    Many thanks for the entire explanation, but particularly the summary on privacy levels at the end. Many is the time I've stumbled over those and struggled to get through it.

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Год назад

      I'm glad it was helpful. Hopefully it will help you through.

  • @christophertauss3640
    @christophertauss3640 7 месяцев назад +1

    Thank you very very much for explaining in such clear language what causes these very mysterious errors as well as what the privacy levels are all about. I am now a subscriber and will be checking out more of your content.

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  7 месяцев назад +1

      Great news - I’m glad I could help. 😁

  • @CeliaAlvesSolveExcel
    @CeliaAlvesSolveExcel Год назад +3

    Very helpful, Mark! Specially that last bit about the global sources.
    If I understood it correctly, in terms of security, there does not seem to be a significant difference between the two methods. If instead a date we were passing on passport number to query the website, matching the privacy levels of the two sources would still expose the private information the same way as solving the issue with ignoring the privacy levels at the workbook level. Is this correct?

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Год назад +2

      Yes, it would pass the information in the same way. What changes is whether Power Query conducts any checks at all.
      Setting the Privacy Levels to be compatible is stating that we know what information is being passed between sources, and that we're happy with it. If new sources are added, we need to make an active decision about those sources too.
      Ignoring the Privacy Levels is stating that we don't want Power Query to perform any compatibility checks. If new sources are added, Power Query will let us pass any data between them.
      So, it's all down to managing risks for each workbook.
      I think the most likely Formula.Firewall error is when combining dynamic sources (e.g. cell values to determine which file path to use as the source), in most cases, these would both be organizational, so the Privacy Levels error often will not appear.
      Interrestingly, Ignoring Privacy Levels removes the step of requiring checks, therefore that gives us faster processing times, which I think will make most people decide to ignore the privacy levels (even if that is not the right choice).

    • @CeliaAlvesSolveExcel
      @CeliaAlvesSolveExcel Год назад

      @@ExcelOffTheGrid yes, that's why it says something like "Ignore privacy levels and potentially improve performance."
      I had a case where I flattened the queries to not have the workbook set to ignore privacy levels. The firewall error would not show but the queries started to take a very long time to refresh instead of a few seconds. I had to switch back to ignore privacy levels.
      The data source were local folders containing Excel files.

  • @ja3mi2
    @ja3mi2 9 месяцев назад

    Best explanation of Formula.Firewall error I have seen. THANK YOU! It all makes much more sense now, and more importantly, I fixed my problem...

  • @IvanCortinas_ES
    @IvanCortinas_ES Год назад +1

    Excellent video tutorial, Mark.
    I think it is a point that is widely used by companies when they connect to websites to recover data for some reason.
    Without a doubt, you explain perfectly how to solve the matter.
    Thank you!

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Год назад

      Thanks Ivan.
      I worked hard to try to get the best explanation. So I appreciate that feedback. 😀

  • @manthanmistry1205
    @manthanmistry1205 3 месяца назад +1

    Excellent explanation. Thanks ❤

  •  10 месяцев назад

    An excellent, clear and efficient proposed solution.
    The simulation of the failure was very well set up.
    With this solution I was able to solve a problem with a report.
    Thank you very much for all the effort in sharing knowledge.
    Greetings from Bogotá - Colombia

  • @serdip
    @serdip Год назад

    Thanks very much for explaining this issue that seems to occur rather often. This video makes a great resource and reference for use when building and debugging Power Query queries. Thank you kindly.

  • @ziggle314
    @ziggle314 Год назад +1

    As always, nice job.

  • @odallamico
    @odallamico 5 месяцев назад

    Usefull trick. Thank you for share

  • @dannypuype6104
    @dannypuype6104 Год назад +1

    Thanks for sharing ! Interesting indeed to clarify this mysterious feature of privacy levels in PQ.
    I had 'global privacy' in Query Options set as 'always ignore' which indeed didn't triggered any problem.
    But having privacy settings in Query Options on a global level, then also on a current workbook level + then also have the options to set /edit permissions levels for the data sources makes this again into a brain drainer (although I can see the logic behind).

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Год назад

      I’m not confident enough to set the global setting to Ignore. I don’t know what data I’ll be working with, so I think it’s safer to set at a workbook level.

  • @ExcelU
    @ExcelU Год назад +1

    Thanks Mark :)

  • @moociferzhang
    @moociferzhang 4 месяца назад +1

    I thought I understood this, but I still can't rectify the following situation ..
    Using text.combine with a parameter list, from a table in Excel, in a SQL query WHERE clause.
    The only way I have found to remove the formula firewall error is by ignoring privacy levels. This can't be the best solution, surely ??

  • @Andreandre110
    @Andreandre110 Год назад +1

    Hello mark. I have built the query structure in a similar way that you introduced as the wrong way of doing it. Up until now i've had zero problems with it. But when my co-worker is trying to 'refresh all' he gets the 'formula.firewall' error message. Will try your fix tomorrow at work. But in the instance of it not working, what might be the problem that i am facing? Thanks for the video anyway!

    • @Andreandre110
      @Andreandre110 Год назад

      Worked like a charm. Thank you so much for this video!

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Год назад

      Each time a different user opens a file with a query it resets the privacy settings.
      You can use the VBA Queries.FastCombine setting in the Workbook Open event to force the setting when a user opens the file.