Forum Discussion
android1
9 years agoPost Patron
SUM values if date equal to
Hi,
Trying to SUM the values in column Num Hrs if iDate = 17 Marach 2017.
Have this so far -> Bank Hol = CALCULATE(SUM(CarerActualWork[Num Hrs]),CarerActualWork[iDate]= "17 March 2017")
but not quite right.
Gerry
8 Replies
- Phil_SeamarkMicrosoft Employee
Hi android1
Please try this slight variation
Bank Hol = CALCULATE( SUM(CarerActualWork[Num Hrs]), CarerActualWork[iDate]= DATE(2017,3,17) )
- android1Post Patron
Hi Phil,
Hi Phil, Thanks for that. For some reason it's summing for all dates.
- Phil_SeamarkMicrosoft Employee