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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have a table for people who have applied for, been accepted for, and attended a thing. I started with...
Solved! Go to Solution.
2 filters inside the same CALCULATE are applied as an AND condition, in case of 2 filters inside nested CALCULATE the filter context generated by inner CALCULATE will overwrite the filter context generated by outer CALCULATE.
Your outer CALCULATE generated a filter context where Interactions[Attended] = TRUE() but the inner CALCULATE generates the filter context where Interactions[Attended] is not blank and this is why the inner CALCUALTE nullifies the effect of the filter context generated by the outer CALCULATE and at the end you get the result for Attended not blank
Attended =
CALCULATE (
CALCULATE (
[Applications],
NOT ( ISBLANK ( Interactions[Attended] ) ) -- This overwrites the Filter context
-- generated by outer CALCULATE on the same
-- column
),
Interactions[Attended] = TRUE () -- The filter context generated here is overwritted by the
-- filter context create by the inner CALCULATE
)
2 filters inside the same CALCULATE are applied as an AND condition, in case of 2 filters inside nested CALCULATE the filter context generated by inner CALCULATE will overwrite the filter context generated by outer CALCULATE.
Your outer CALCULATE generated a filter context where Interactions[Attended] = TRUE() but the inner CALCULATE generates the filter context where Interactions[Attended] is not blank and this is why the inner CALCUALTE nullifies the effect of the filter context generated by the outer CALCULATE and at the end you get the result for Attended not blank
Attended =
CALCULATE (
CALCULATE (
[Applications],
NOT ( ISBLANK ( Interactions[Attended] ) ) -- This overwrites the Filter context
-- generated by outer CALCULATE on the same
-- column
),
Interactions[Attended] = TRUE () -- The filter context generated here is overwritted by the
-- filter context create by the inner CALCULATE
)
@tonylee , try if this gives you 137
Attended = CALCULATE ( [Places Allocated], filter(Interactions,Interactions[Attended] = TRUE() ))
if so, overlap filter can be an issue.