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 guys,
I used the following formula,
Solved! Go to Solution.
Hi @Samhunt ,
Please try code as below to create a measure.
Average lead Time =
VAR _STATUSLIST =
CALCULATETABLE (
VALUES ( Bookings[Status] ),
ALLEXCEPT ( Bookings, Bookings[ID] )
)
RETURN
CALCULATE (
AVERAGE ( Bookings[Booking Lead Time] ),
FILTER ( Bookings, "Paid" IN _STATUSLIST && "Confirmed" IN _STATUSLIST )
)
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Samhunt ,
Please try code as below to create a measure.
Average lead Time =
VAR _STATUSLIST =
CALCULATETABLE (
VALUES ( Bookings[Status] ),
ALLEXCEPT ( Bookings, Bookings[ID] )
)
RETURN
CALCULATE (
AVERAGE ( Bookings[Booking Lead Time] ),
FILTER ( Bookings, "Paid" IN _STATUSLIST && "Confirmed" IN _STATUSLIST )
)
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.