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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi!
I have a issue which I cannot wrap my head around.
I have four tables:
Dimension Item,
Fact StockEvent,
Dimension EventDate,
Dimension EventType
Those are connected as
In StockEvent table I have a measure:
CountFilteredEvents = CALCULATE ( COUNTROWS(StockEvent), FILTER ( StockEventType,[EventType] in {"T1","P1","P2"} ) )
Has Stock Events? = IF ( [CountFilteredEvents] >= 1, "has events", "no events" )
Though this gives me "has events" on every row, even if there are none. This seems to disregard the date filter.
Measure with the same dax works fine.
I know that the column is calculated at a row level and the measure at a filter level but I'm not sure what to do with that information. I would appreciate any assistance
There are a few misconceptions in the question. Measures are for visuals, calculated columns are for adding columns to tables - they are calculated at refresh time. Calculated columns do not change according to visual filters.
It is not a good idea to create a calculated column which uses a measure.
--
"In StockEvent table I have a measure" - a measure has a 'home' table. It means nothing. A measure has no value until it's added to a visual.
--
Re-write these both as calculated columns or use power query.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.