Good afternoon, My group uses a project report to keep track of the milestones and tollgates of our product launches. One particular report has numerous columns that are populated by a collection (tasks) and a valueexpression to pick out just a particular milestone plannedCompletionDate. Something like this:
displayname=Milestone 3
listdelimiter=
listmethod=nested(tasks).lists
textmode=true
type=iterate
valueexpression=IF({name}="Milestone 3",{plannedCompletionDate})
valueformat=HTML
We're being asked to apply color logic now to those dates so that if a milestone's plannedCompletionDate is passed and the milestone is not yet complete, the date turns red. I can't figure out how to apply color coding based on the outcome of just one IF in the valueexpression.
displayname=Milestone 3
listdelimiter=
listmethod=nested(tasks).lists
textmode=true
type=iterate
valueexpression=IF({name}="Milestone 3" && {percentComplete} = 100, {plannedCompletionDate}, IF({name}="Milestone 3" && {percentComplete} < 100 && {plannedCompletionDate} > $$TODAY, {plannedCompletionDate}, IF({name}="Milestone 3" && {percentComplete} < 100 && {plannedCompletionDate} < $$TODAY, {plannedCompletionDate} )))
valueformat=HTML
Basically, I want to turn the text above in red, red in the report. Any ideas? Thank you! Corey Beavers Mohawk Industries, Inc.