Mavericks334
Active Member
- Joined
- Jan 26, 2011
- Messages
- 280
Hi,
I have four columns One is the ID, assigned date, closed, date and no of tasks completed. The assigned date is in a relationship with the calendar date table. I created measures to calculate the number of ID's assigned in a month. It gives me the right value. However when i try to get the sum of task completed by the end of the month, it gives me incorrect value. I have created two calculated columns. Below are the measures.
Assigned Month End: =Related(Calendar[MonthEnd])
Closed Month End= EOMonth([Closed Date])
Count of IDS assigned= Calculated(Count[Assigned Month End],Datesbetween(Calendar[Dates],[Selected_Month_Start_Date],[Selected_Month_End_Date])
Sums of Tasks Completed =Calculated(SUM[No Of Tasks Completed],Datesbetween(Calendar[Dates],[Selected_Month_Start_Date],[Selected_Month_End_Date])
BEcause of the relationship between the assigned date and DAtes table. Instead of getting values for the current month the values are being aggregated in the previous month.
Any suggestions how to do it.
-- removed inline image ---
I have four columns One is the ID, assigned date, closed, date and no of tasks completed. The assigned date is in a relationship with the calendar date table. I created measures to calculate the number of ID's assigned in a month. It gives me the right value. However when i try to get the sum of task completed by the end of the month, it gives me incorrect value. I have created two calculated columns. Below are the measures.
Assigned Month End: =Related(Calendar[MonthEnd])
Closed Month End= EOMonth([Closed Date])
Count of IDS assigned= Calculated(Count[Assigned Month End],Datesbetween(Calendar[Dates],[Selected_Month_Start_Date],[Selected_Month_End_Date])
Sums of Tasks Completed =Calculated(SUM[No Of Tasks Completed],Datesbetween(Calendar[Dates],[Selected_Month_Start_Date],[Selected_Month_End_Date])
BEcause of the relationship between the assigned date and DAtes table. Instead of getting values for the current month the values are being aggregated in the previous month.
Any suggestions how to do it.
-- removed inline image ---