Forum Discussion
Formula.Firewall: Query references other queries, so it may not directly access a data source.
- 10 years ago
Ken Puls blogged about this here
http://www.excelguru.ca/blog/2015/03/11/power-query-errors-please-rebuild-this-data-combination/
Ken Puls blogged about this here
http://www.excelguru.ca/blog/2015/03/11/power-query-errors-please-rebuild-this-data-combination/
- zuludogm7 years agoAdvocate II
The error can occur from privacy permissions as well. It may be necessary to take the steps outlined in the solution above and also to change the privacy options. File>Options and settings>Query Options>Privacy
Then choose "Always ignore privacy level settings".
- fduran7 years agoAdvocate I
I actually ran across this same error...
Going to: Options --> CURRENT FILE --> Privacy then setting the Privacy Level to "ignore the privacy levels and potentailly improve performance" did the trick.
Thank you so much guys!
Fernando
- Anonymous3 years agoNot applicable
That was brilliant, it worked like charm!!! thank you 🙂
- stretcharm7 years agoMemorable MemberThere are some good blog posts about this. https://blog.crossjoin.co.uk/2017/06/26/data-privacy-settings-in-power-bipower-query-part-3-the-formula-firewall-error/ https://www.excelguru.ca/blog/2015/03/11/power-query-errors-please-rebuild-this-data-combination/
- ThLo2 years agoRegular Visitor
Thanks, this solved my today problem!
- markive10 years agoAdvocate II
Hi MattAllington, thanks for the info..
Yes I was able to get around it just now by effectively moving all of the steps from the other query into the same query. This gets around the problem but it's a bit annoying.
- michaelshparber6 years agoAdvocate V
All steps in the same Query! Without "Reference"!!!
This did the trick!
You are a lifesaver!!!
Thank you so much!
Michael
- DmitryKo2 years agoHelper IV
First of all, this link mentioned no longer exist, so this is definitely not a solution.
Then. In my scenario, I've defined a transformation for a JSON file from a known format as a formula. This transformation DOES use data from other sources, because it's exactly what makes it useful as a formula, and the very reason for it to be converted into a formula.
Problem is, this formula becomes useless due to this error - unless I go and apply the security settings fix.
I understand this won't work in the cloud. But then, how to fix it AND keep the formula useful?- ecalzavara2 years agoAdvocate II
Hey mate, have you found any 2023 solution?
- MarkCBB10 years agoHelper V
MattAllington Thank you for sharing, the Blog by Ken Puls, saved alot of my hair. (Very frustrating, but the below made sence and helped alot).
- Shiva7998 years agoFrequent VisitorI'm getting same error but Im not using excel sheet but sql stored procedure query. Is there any solution for this?
- mandyhpnguyen3 years agoRegular Visitor
I found this video which fixed my problem with excel sheets too. Check it out!
- nickvanmaele3 years agoAdvocate II
Thank you Matt. That solved the problem.
- Linnil3 years agoHelper III
I always know it's a good solution when I see Matt's name!
- GML2 years agoRegular Visitor
Updated URL for Ken Pul's article: https://excelguru.ca/power-query-errors-please-rebuild-this-data-combination/
- Arcux1 year agoNew Member
Dead link
- joelengelcrsrds1 year agoNew Member
Updated link: Power Query Errors: Please Rebuild This Data Combination