Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello,
I’m working on a Power BI report and need to control filter behavior for a line chart called “Planning & Execution.”
The Executed line must react to all filters (including Month slicer).
The Planned line must ignore the Month slicer.
The Planned line must still react to all other filters (Year, other dimensions, etc.).
In short: Planned should ignore only the Month slicer, but respect the rest of the filter context.
The current implementation partially works, but now the visual only reacts correctly to Year and Month, and ignores other filters unexpectedly.
To achieve this, I created two calendar tables:
I then overlaid two line charts.
The goal of overlaying them is to control filter interaction separately.
X-axis:
CalendarioEixo[Month_Slicer]
Y-axis measures:
Accumulated Executed Final
Accumulated Plan Final
This measure identifies the last month with execution data, preventing accumulation beyond the last executed month.
This measure calculates accumulated executed records up to the current X-axis month.
Uses [PA Done Date]
Accumulates execution values
Stops accumulating after last execution month
This measure calculates accumulated planned records up to the current X-axis month.
Uses [Target Date]
Accumulates planned values
This second visual is overlaid on top of the first one.
X-axis:
Calendario[Month_Slicer]
Y-axis measures:
Accumulated executed (stop)
Accumulated plan
Interaction with Month slicer is disabled for this visual.
This:
Accumulates executed quantity
Stops after last execution month
Uses ALLSELECTED over Calendario
This:
Accumulates planned quantity
Is intended to ignore only the Month slicer
Still respect other filters
The visual behaves inconsistently:
Executed reacts correctly to Month.
Planned correctly ignores Month.
However, both lines are no longer reacting properly to other filters (besides Year).
I’ve tried variations using ALL, REMOVEFILTERS, and ALLSELECTED, but removing the Month filter without breaking the rest of the filter context is proving difficult.
The Month slicer is built using:
Calendario[Mes]
This slicer is intended to:
Filter the Executed line normally
Not affect the Planned line
The slicer is connected to the Calendario table.
The first visual (which uses CalendarioEixo as X-axis) reacts to the slicer.
The second overlaid visual (which uses Calendario[Month_Slicer] on the X-axis) has its interaction with the Month slicer manually disabled.
This setup was designed to isolate filter behavior by splitting axis control across two calendar tables.
If I select:
Month = March
Then:
The Executed line should adjust and display values only up to March.
The Planned line should remain unchanged (ignoring the Month slicer).
Both lines should still respect all other filters (Year, Region, Commodity, etc.).
What is the correct DAX pattern to:
Remove only the Month slicer filter
Preserve all other filter context
Avoid breaking cross-filtering from other dimensions
If needed, I can provide a simplified PBIX model.
Solved! Go to Solution.
@Isabellii02 , This should work. Make sure Calendar table is marked as date table and any field/column in filter/visual should come from date table only
Both will work
Accumulated plan = CALCULATE( [Planned Quantity (Fixed)], FILTER( ALLSELECTED(Calendario), Calendario[Date] <= MAX(Calendario[Date]) ) )
or
Accumulated plan = CALCULATE( [Planned Quantity (Fixed)], FILTER( ALL(Calendario), Calendario[Date] <= MAX(Calendario[Date]) ) )
other options are
Accumulated plan = CALCULATE( [Planned Quantity (Fixed)], FILTER( ALL(Calendario[Date]), Calendario[Date] <= MAX(Calendario[Date]) ) ,REMOVEFILTERS(Calendario[Month]))
Hi @Isabellii02
Thank you for reaching out to the Microsoft Fabric Forum Community.
@amitchandak Thanks for the inputs.
I hope the information provided by user was helpful. If you still have questions, please don't hesitate to reach out to the community.
Hi @Isabellii02
Hope everything’s going smoothly on your end. I wanted to check if the issue got sorted. if you have any other issues please reach community.
@Isabellii02 , This should work. Make sure Calendar table is marked as date table and any field/column in filter/visual should come from date table only
Both will work
Accumulated plan = CALCULATE( [Planned Quantity (Fixed)], FILTER( ALLSELECTED(Calendario), Calendario[Date] <= MAX(Calendario[Date]) ) )
or
Accumulated plan = CALCULATE( [Planned Quantity (Fixed)], FILTER( ALL(Calendario), Calendario[Date] <= MAX(Calendario[Date]) ) )
other options are
Accumulated plan = CALCULATE( [Planned Quantity (Fixed)], FILTER( ALL(Calendario[Date]), Calendario[Date] <= MAX(Calendario[Date]) ) ,REMOVEFILTERS(Calendario[Month]))
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 47 | |
| 29 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 88 | |
| 76 | |
| 40 | |
| 26 | |
| 26 |