Hello,
I use this code to get the original estimated workload in which time has been logged.
Then I get the sum of all on weekly basis. The problem I have is there are issues that are counted several times between 2 different weekdays. I guess it's because time has been logged into 1 issue several times in different weekdays.
I want to exclude them and I don't know how.
Calculated member 1
/*Return the original estimated based on the list of issues filtered */
Sum(
Filter(
/*All issues of the CurrentMember (e.g. Building) that started*/
Descendants([Issue].CurrentMember, [Issue].[Issue]),
[Measures].[Hours spent] > 0),
/*We retrieve the workload planned for issues we started to work on*/
([Measures].[Original estimated hours],
[Time].CurrentHierarchy.DefaultMember)
)Calculated member 2
Sum(
PreviousPeriods([Time].CurrentHierarchy.DefaultMember),
([Measures].[member 1],[Issue Type].CurrentHierarchy.DefaultMember))