March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have a query where one of the columns in the results, is a list of table names.
I want to query ANOTHER source, using the distinct values of those tables, as a filter.
I have created the filter by
Text.Combine(List.Distinct(FromSourceA[TableName]), "|")
This gives me a string with every tablename, seperated by |'s to create a regex.
My problem is using this value in the query string of another source.
I keep getting "Formula.Firewall: Query 'QueryName' (step 'StepName') references other queries or steps and so may not directly access a data source. Please rebuild this data combination." error when I do this.
I have tried to follow the following guide but not really been able to make it work in any way (maybe because I have to use the variable string in another source):
https://excelguru.ca/power-query-errors-please-rebuild-this-data-combination/
Any ideas on how I can solve this?
Solved! Go to Solution.
That only works in the desktop though.
Short answer: Don't do that. You will never get this past the formula firewall monster.
Long answer: You need to keep everything inside a single partition, and you need to obfuscate your sources. Lastly you may need to use Expression.Evaluate with scope bending. (If these words sound like gibberish to you then I highly recommend you consume Ben Gribaudo's Primer.)
Thank you, that is some very good advice. I will go through that primer.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
20 | |
13 | |
10 | |
9 | |
7 |
User | Count |
---|---|
39 | |
27 | |
16 | |
15 | |
10 |