Hi @Marta_Bondyra,
thank you it work , i have another question please !
i want to calculate the sum of this durations and divide it by the number of bookings in my index.
it very easy to do it with TSVB and use the bucket script . but the TSVB don't support the scripted fields .
how can i do this !