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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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"
)
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!