Forum Discussion
Formula.Firewall - Query references other queries...
Hi nixonyx ,
I guess your query table not contain r script code, right?
If this is a case, I think it should invoke r script code from a local file, you can find out local file and move it to new device to fix this issue.
Running Local R Scripts in Power BI
Please understand that this link is provided with no warranties or guarantees of content changes, and confers no rights.
Regards,
Xiaoxin Sheng
However, you have given me an idea! Maybe I should move the scripts out of the queries and onto a network share? Would that work?
- sqlitybi6 years agoRegular Visitor
Have you tried to separate your R script from directly referencing your data source script by using a function? You can create a staging query for your data source and then create a function on it to output a new query, and then you use the new query to do all the R transformations. Here is a post about that: Formula.Firewall Error Referencing Queries – R & Python Scripts