Hours on project for current year only in a calculated field
I am trying to figure out a way to pull total hours on project for just the current year. I know I can use an hours report, but I need the data in a project report so I can display it and add to expenses. I was thinking a calculated field that I can then pull into a project report. However, I cannot get it to pull just hours from the current year.
SUM({actualWorkRequired},($$TODAYby >= {entryDate} && $$TODAYey <= {entryDate}))/60
I think it is looking at projects that have hours recorded in the current year and then just provides the sum of total project hours. Not current year only hours.
I see WF has API for 'actualHoursThisMonth'. Anyone know how to pull "actual hours for this year'?