# Calculated measure -\> To count only 8 hours per day in Transition Status

**URL:** <https://community.eazybi.com/t/calculated-measure-to-count-only-8-hours-per-day-in-transition-status/7423>\
**Category:** Questions & Answers\
**Created:** [July 26, 2021, 9:04am UTC](https://community.eazybi.com/t/calculated-measure-to-count-only-8-hours-per-day-in-transition-status/7423 "2021-07-26T09:04:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lauma.cirule](https://community.eazybi.com/user_avatar/community.eazybi.com/lauma.cirule/32/8830_2.png) [@lauma.cirule](https://community.eazybi.com/u/lauma.cirule)\
**Post date:** [July 28, 2021, 12:53pm UTC](https://community.eazybi.com/t/calculated-measure-to-count-only-8-hours-per-day-in-transition-status/7423/2 "2021-07-28T12:53:36Z")

</div>

Hi @Suchithra,

Calculating the time spent in status during working hours (not only during working days) would definitely be a helpful measure. Unfortunately, for now, there is no good solution we can offer for this. However, there is an idea in our backlog to allow adding working hours as a parameter to the account, and then possibly we could pre-calculate this during import. We will update this post when anything new regarding this appears.

Meanwhile, you may try to pre-calculate this with a JavaScript calculated custom field.

- Please see this community post for a similar use case: [Assignment hrs work days eazybi](https://community.eazybi.com/t/assignment-hrs-work-days-eazybi/4956/).
- Here is an example also in the documentation: [Data adjustments using JavaScript - eazyBI](https://docs.eazybi.com/eazybi/data-import/data-adjustments-using-javascript#DataadjustmentsusingJavaScript-Workdays).

Lauma / [support@eazybi.com](mailto:support@eazybi.com)

---

_[View the full topic](https://community.eazybi.com/t/calculated-measure-to-count-only-8-hours-per-day-in-transition-status/7423)._
