# Check-out Total Duration

**URL:** <https://community.eazybi.com/t/check-out-total-duration/7574>\
**Category:** Questions & Answers\
**Created:** [August 13, 2021, 5:35pm UTC](https://community.eazybi.com/t/check-out-total-duration/7574 "2021-08-13T17:35:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nolivaiko](https://community.eazybi.com/letter_avatar_proxy/v4/letter/n/91b2a8/32.png) [@nolivaiko](https://community.eazybi.com/u/nolivaiko)\
**Post date:** [August 13, 2021, 5:35pm UTC](https://community.eazybi.com/t/check-out-total-duration/7574/1 "2021-08-13T17:35:09Z")

</div>

Hello Community,

Case study: Obtain a percentile of utilization of an asset.

We currently have an issue type “Check-out” and a subtask “Check-out record”, the subtask “Check-out record” keeps a record of utilization of an asset, so we have the custom fields Check-out Date/Time - Check-in Date/Time and a third field measuring the amount of hours the vehicle was checked out “Check-out Total Duration” (in hours). What I’m trying to accomplish is to report the percentile of utilization considering 8hr days 5 days/week.

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![martins.vanags](https://community.eazybi.com/user_avatar/community.eazybi.com/martins.vanags/32/8905_2.png) [@martins.vanags](https://community.eazybi.com/u/martins.vanags)\
**Post date:** [August 18, 2021, 11:54am UTC](https://community.eazybi.com/t/check-out-total-duration/7574/2 "2021-08-18T11:54:09Z")

</div>

Hi @nolivaiko

You can create a calculated measure with % format to calculate the utilization rate as the actual difference between check out and check in vs the difference in full days before both events.

```auto
Datediffdays(
  [Issue].CurrentMember.getDate('Check-out Date/Time'),
  [Issue].CurrentMember.getDate('Check-in Date/Time')
)
/
Datediffdays(
 DatewithoutTime([Issue].CurrentMember.getDate('Check-out Date/Time')).startdate,
  Dateadddays(DatewithoutTime([Issue].CurrentMember.getDate('Check-in Date/Time')).startdate,1)
)

```

Martins / eazyBI
