# Original estimated hours weekly distribution based on start and end dates

**URL:** <https://community.eazybi.com/t/original-estimated-hours-weekly-distribution-based-on-start-and-end-dates/13183>\
**Category:** Questions & Answers\
**Created:** [July 16, 2023, 10:49am UTC](https://community.eazybi.com/t/original-estimated-hours-weekly-distribution-based-on-start-and-end-dates/13183 "2023-07-16T10:49:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmedqureshij](https://community.eazybi.com/letter_avatar_proxy/v4/letter/a/e47774/32.png) [@ahmedqureshij](https://community.eazybi.com/u/ahmedqureshij)\
**Post date:** [July 16, 2023, 10:49am UTC](https://community.eazybi.com/t/original-estimated-hours-weekly-distribution-based-on-start-and-end-dates/13183/1 "2023-07-16T10:49:34Z")

</div>

Hello All,

I wanted to see Original estimated vs Hours spent on a weekly basis. However, Original Estimated hours are based on Issue created. Please help.

---

<div class="post-metadata">

**Author:** ![Behzad\_Nazarbakhsh](https://community.eazybi.com/user_avatar/community.eazybi.com/behzad_nazarbakhsh/32/7434_2.png) [@Behzad\_Nazarbakhsh](https://community.eazybi.com/u/Behzad_Nazarbakhsh)\
**Post date:** [July 16, 2023, 12:52pm UTC](https://community.eazybi.com/t/original-estimated-hours-weekly-distribution-based-on-start-and-end-dates/13183/2 "2023-07-16T12:52:12Z")

</div>

I think you should add project in page an time in row. fom hierarchy level member select week.  
then define new calculated member with the folowing formula :  
[Measures].[original estimated hours]/ [Measures].[Hours spent]

---

<div class="post-metadata">

**Author:** ![roberts.cacus](https://community.eazybi.com/user_avatar/community.eazybi.com/roberts.cacus/32/637_2.png) [@roberts.cacus](https://community.eazybi.com/u/roberts.cacus)\
**Post date:** [July 20, 2023, 9:37am UTC](https://community.eazybi.com/t/original-estimated-hours-weekly-distribution-based-on-start-and-end-dates/13183/3 "2023-07-20T09:37:54Z")

</div>

Hi @ahmedqureshij,

You are correct. The “Original estimated hours” measure is tied to the _Time_ dimension on the issue creation date and “Hours spent” when the work was logged.

I recommend using the “Remaining estimated hours history” measure instead of “Original estimated hours”. It will display the amount of work still remaining at the end of each week based on your estimates and work logged in those issues.

Then you can compare the remaining estimate of the previous week to the current week’s hours spent. The formula could look similar to the one below:

```auto
CASE WHEN
  ([Measures].[Remaining estimated hours history],
  [Time].CurrentHierarchyMember.PrevMember) > 0
THEN
  [Measures].[Hours spent]
  /
  ([Measures].[Remaining estimated hours history],
  [Time].CurrentHierarchyMember.PrevMember)
END

```

If the above doesn’t fit your requirement, please elaborate on how you want to tie the original estimate and hours spent to start and end dates. How and where are these dates defined?

Please look at our documentation page for more information on defining calculated measures - ​[Calculated measures and members](https://docs.eazybi.com/eazybijira/analyze-and-visualize/calculated-measures-and-members).

Best,  
Roberts // [support@eazybi.com](mailto:support@eazybi.com)

---

<div class="post-metadata">

**Author:** ![ahmedqureshij](https://community.eazybi.com/letter_avatar_proxy/v4/letter/a/e47774/32.png) [@ahmedqureshij](https://community.eazybi.com/u/ahmedqureshij)\
**Post date:** [July 20, 2023, 9:59am UTC](https://community.eazybi.com/t/original-estimated-hours-weekly-distribution-based-on-start-and-end-dates/13183/4 "2023-07-20T09:59:53Z")

</div>

Hello Roberts,

Thanks for the reply, i am actually looking more from a capacity perspective. For instance,  
Task created on 1st Jan with - Dates- 1st Jan 2023 to 10th Jan 2023- Original estimated hours - 100, i wanted to check on 5th Jan 2023, what is my expected estimated hours and how many hours i have burnt.  
Currently Original estimated hours will be shown only against 1st Jan on 5th Jan it will be 0. Remaining estimated hours will give us hours based on time spent, however i want Planned or Expected hours as of status date

---

<div class="post-metadata">

**Author:** ![roberts.cacus](https://community.eazybi.com/user_avatar/community.eazybi.com/roberts.cacus/32/637_2.png) [@roberts.cacus](https://community.eazybi.com/u/roberts.cacus)\
**Post date:** [August 15, 2023, 1:59pm UTC](https://community.eazybi.com/t/original-estimated-hours-weekly-distribution-based-on-start-and-end-dates/13183/5 "2023-08-15T13:59:47Z")

</div>

Hi @ahmedqureshij,

Thank you for clarifying. My understanding is that you have a particular period selected in the _Time_ dimension in pages and view the individual “Day” level members in report rows. To calculate the total Original estimate created in the visible period, you can use the calculated measure formula below:

```auto
Sum(
  VisibleRowsSet(),
  [Measures].[Original estimated hours]
)

```

The report then could look similar to the one below:

 ![Screenshot 2023-08-15 at 16.57.36](https://community.eazybi.com/uploads/default/original/2X/c/c45070db9c9db35cacf168b99c1fddec9b95bff6.png)

Alternatively, if you want to see the cumulative sum, you can use standard calculations for the “Orignal estimated hours” measure - [Create reports](https://docs.eazybi.com/eazybi/analyze-and-visualize/create-reports#Createreports-Addstandardcalculationsbasedonaselectedmeasure).

Best,  
Roberts // [support@eazybi.com](mailto:support@eazybi.com)
