Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
richard-powerbi
Post Patron
Post Patron

Firewall problem referencing #sections[Section1]

I'm having problems with the use of #sections[Section1] and later on referencing anything made from that.

I use #sections[Section1] because I want to gather a list of my queries and combine queries that have ">DA" in their name.

I start with the code below:

Calendar table

let
Source = #sections[Section1],
#"Converted to Table" = Record.ToTable(Source),
#"Removed Errors" = Table.RemoveRowsWithErrors(#"Converted to Table", {"Value"}),
#"Filtered Rows" = Table.SelectRows(#"Removed Errors", each Text.Contains([Name], ">DA")),
#"Removed Other Columns" = Table.SelectColumns(#"Filtered Rows",{"Value"}),
#"Expanded Value" = blablabla

Calendar2 (ref from Calendar)

= Calendar

When I reference Calendar, immediately this error pops up:

Formula.Firewall: Query 'Calendar' (step 'LastStepInQuery') is referencing Query 'Calendar2' (step 'Source'), which was not part of its formula text.

I'm aware of the Formula.Firewall error in other situations and how te resolve it: https://www.youtube.com/watch?v=l4b8yRUpaoM

But when working together with sections[Section1], I'm completely stuck. I do not want to always ingore privacy level settings. Does anyone have an idea how to get around this?

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @richard-powerbi,

 

Hope this third - part bolg can help you understand what is Formula firewall error.

https://www.poweredsolutions.co/2019/03/12/data-privacy-and-the-formula-firewall/

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

@v-frfei-msft Thanks that's always helpful to read, but I made this topic because I was looking for a solution for working with #sections.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors