The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |