Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hello,
I want to export a query results into CSV file using R scripting, I have used write.csv command line and it worked with tables that sourced data from an excel data source, but I want to use the code with a query that is a result of merging three tables (I merged three imported tables that were sourced from an excel sheet) but when I run the write.csv R script to export the merging query result I get the below error:
Formula.Firewall: Query 'BSC' (step 'Run R script') references other queries or steps, so it may not directly access a data source. Please rebuild this data combination.
Solved! Go to Solution.
Hi @Anonymous ,
try to disable the Formula.Firewall
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Hi @Anonymous ,
try to disable the Formula.Firewall
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 24 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 44 | |
| 32 | |
| 18 | |
| 17 | |
| 16 |