I built a project report and pulled in two task "actual completion dates" as columns into this report. I am now trying to create a third column that shows the difference of work days between these dates.
Here is the syntax from pulling in the task dates into columns:
displayname=Creative Approved Date
listmethod=nested(tasks).lists
textmode=true
type=iterate
valueexpression=IF({name}="Receive Client Content Approval",{actualCompletionDate})
valueformat=HTML
displayname=Program Launch Date
listmethod=nested(tasks).lists
textmode=true
type=iterate
valueexpression=IF({name}="Start program outreach",{actualCompletionDate})
valueformat=HTML
And here is the syntax that I'm trying to get the week day difference between these two columns (but it's not working):
aggregator.function=AVG
aggregator.namekey=datevariance
aggregator.valueexpression=WEEKDAYDIFF(IF({name}=“Start program outreach”,{actualCompletionDate}),IF({name}=“Receive Client Content Approval”,{actualCompletionDate}))
aggregator.valueformat=HTML
displayname=Days from creative approval to launch
namekey=datevariance
textmode=true
valueexpression=ABS(WEEKDAYDIFF(IF({name}=“Start program outreach”,{actualCompletionDate}),IF({name}=“Receive Client Content Approval”,{actualCompletionDate}))
valuefield=dateVariance
valueformat=HTML