I have a Proof Approval report that shows all reports that have pending approvals and a proof deadline earlier or equal to $$TODAY. I'd like a column that shows the difference between the proof deadline and $$TODAY.
I tried this:
valueexpression=ABS(WEEKDAYDIFF (documentVersion:proofDeadlineDate},{$$TODAY}))
valuefield=dateVariance
valueformat=HTML
aggregator.valueexpression=WEEKDAYDIFF({documentVersion:proofDeadlineDate},{$$TODAY})
aggregator.function=AVG
aggregator.valueformat=HTML
aggregator.namekey=datevariance
namekey=datevariance
displayname=Date Variance (Entry to Actual Completion Date)
textmode=true
description=Entry to Actual Completion Date
Obviously it didn't work. Suggestions?
Thanks!
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Hi Jason,
Your syntax was a little off in your value expressions. You don't need curly brackets around wildcards, also when referencing multiple fields in a value expression you need to separate each field with it's own set of curly brackets and use a full stop inbetween the two fields that are referencing eachother (i.e. instead of {documentVersion:proofDeadlineDate}, it is {documentVersion}.{proofDeadlineDate})
Try the below instead:
aggregator.function=AVG
aggregator.namekey=datevariance
aggregator.valueexpression=WEEKDAYDIFF({documentVersion}.{proofDeadlineDate},$$TODAY)
aggregator.valueformat=HTML
description=Days until proof deadline
displayname=Days until proof deadline
namekey=datevariance
textmode=true
valueexpression=ABS(WEEKDAYDIFF({documentVersion}.{proofDeadlineDate},$$TODAY))
valuefield=dateVariance
valueformat=HTML
Best Regards,
Rich.
Hi Jason,
Your syntax was a little off in your value expressions. You don't need curly brackets around wildcards, also when referencing multiple fields in a value expression you need to separate each field with it's own set of curly brackets and use a full stop inbetween the two fields that are referencing eachother (i.e. instead of {documentVersion:proofDeadlineDate}, it is {documentVersion}.{proofDeadlineDate})
Try the below instead:
aggregator.function=AVG
aggregator.namekey=datevariance
aggregator.valueexpression=WEEKDAYDIFF({documentVersion}.{proofDeadlineDate},$$TODAY)
aggregator.valueformat=HTML
description=Days until proof deadline
displayname=Days until proof deadline
namekey=datevariance
textmode=true
valueexpression=ABS(WEEKDAYDIFF({documentVersion}.{proofDeadlineDate},$$TODAY))
valuefield=dateVariance
valueformat=HTML
Best Regards,
Rich.
Thanks Rich, that worked perfectly! Totally adding this to my textmode stack :D
Jason
Views
Replies
Total Likes
Glad I could help!