Column Rule for Actual Completion Date is greater than Planned Completion Date | Community
Skip to main content
KayleeRichard
Level 2
December 18, 2023
Solved

Column Rule for Actual Completion Date is greater than Planned Completion Date

  • December 18, 2023
  • 2 replies
  • 770 views

Hi, I am looking to add a column rule for a report to highlight in red if the actual completion date exceeds the planned completion date. I tried to find other conversations on here but couldn't find an exact solution.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by KellieGardner

@kayleerichard  Here is the code you can use to get the desired highlight if actual completion date is greater than the planned completion date.

 

You'll want to navigate to the column you want to highlight, switch to text mode and paste this below the data that populates.

 

styledef.case.0.comparison.icon=false
styledef.case.0.comparison.leftmethod=actualCompletionDate
styledef.case.0.comparison.lefttext=actualCompletionDate
styledef.case.0.comparison.operator=gt
styledef.case.0.comparison.operatortype=date
styledef.case.0.comparison.rightmethod=plannedCompletionDate
styledef.case.0.comparison.righttext=plannedCompletionDate
styledef.case.0.comparison.trueproperty.0.name=bgcolor
styledef.case.0.comparison.trueproperty.0.value=eac6c9
styledef.case.0.comparison.truetext=

 

 

Also, the link Skye posted is great for learning how to do this.

2 replies

skyehansen
Community Advisor and Adobe Champion
December 18, 2023
KellieGardner
Community Advisor
KellieGardnerCommunity AdvisorAccepted solution
Community Advisor
December 20, 2023

@kayleerichard  Here is the code you can use to get the desired highlight if actual completion date is greater than the planned completion date.

 

You'll want to navigate to the column you want to highlight, switch to text mode and paste this below the data that populates.

 

styledef.case.0.comparison.icon=false
styledef.case.0.comparison.leftmethod=actualCompletionDate
styledef.case.0.comparison.lefttext=actualCompletionDate
styledef.case.0.comparison.operator=gt
styledef.case.0.comparison.operatortype=date
styledef.case.0.comparison.rightmethod=plannedCompletionDate
styledef.case.0.comparison.righttext=plannedCompletionDate
styledef.case.0.comparison.trueproperty.0.name=bgcolor
styledef.case.0.comparison.trueproperty.0.value=eac6c9
styledef.case.0.comparison.truetext=

 

 

Also, the link Skye posted is great for learning how to do this.