Expand my Community achievements bar.

Don’t miss the Workfront AMA: System Smarts & Strategic Starts! Ask your questions about keeping Workfront running smoothly, planning enhancements, reporting, or adoption, and get practical insights from Adobe experts.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

Baseline Task Planned Completion Date Variance to Planned Completion Date

Avatar

Level 3

UGH! I am sure there is an easy way to build this, but in a task report or a task view in a project, I want to see the PCD and the Default Baseline PCD side by side with a calculation that shows me the variance. I have this code for the variance, but it's not working... I am beating my head against the wall! Help! 🙂

descriptionkey=plannedcompletiondate

displayname=PCD Var

linkedname=direct

listsort=atDateAsAtDate(plannedCompletionDate)

querysort=plannedCompletionDate

shortview=false

stretch=0

styledef.case.0.comparison.attribute=css

styledef.case.0.comparison.isrowcase=false

styledef.case.0.comparison.leftmethod=atDateAsAtDate(plannedCompletionDate)

styledef.case.0.comparison.lefttext=plannedStartDate

styledef.case.0.comparison.operator=notnull

styledef.case.0.comparison.operatortype=date

styledef.case.0.comparison.righttext=

styledef.case.0.comparison.trueproperty.0.name=bgcolor

styledef.case.0.comparison.trueproperty.0.value=E1E1E1

styledef.case.0.comparison.truetext=

styledef.case.0.comparison.usefield=false

textmode=true

valueexpression=ROUND(DATEDIFF({plannedCompletionDate},{defaultBaselineTask:plannedCompletionDate}),2)

valueformat=HTML

width=75

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Community Advisor

Hi Tammy,

It looks like there's an error in your syntax. Try updating your value expression to the following instead:

valueexpression=ROUND(DATEDIFF({plannedCompletionDate},{defaultBaselineTask}.{plannedCompletionDate}),2)

Best Regards,

Rich.