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,
How can I convert the following to a measure?
Column =
COUNTROWS( (
FILTER (
schedule,
schedule[start_date] <= EARLIER ( [Date] )
// && schedule[end_date] >= EARLIER ( [Date] ) && schedule[no. of attachments] <> 0
&& schedule[end_date] >= EARLIER ( [Date] ) && schedule[no. of attachments] > 0
&& schedule[type] = "Appointment"
)
))
Solved! Go to Solution.
@pieduke88 Try:
Column =
VAR __Date = MAX('Dates'[Date])
VAR __Result =
COUNTROWS(
FILTER (
ALLSELECTED(schedule),
schedule[start_date] <= __Date
&& schedule[end_date] >= __Date && schedule[no. of attachments] > 0
&& schedule[type] = "Appointment"
)
)
@pieduke88 Try:
Column =
VAR __Date = MAX('Dates'[Date])
VAR __Result =
COUNTROWS(
FILTER (
ALLSELECTED(schedule),
schedule[start_date] <= __Date
&& schedule[end_date] >= __Date && schedule[no. of attachments] > 0
&& schedule[type] = "Appointment"
)
)
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.