Project Report - New Column - Text Mode - Milestone reporting
Hi, I must be missing something very basic. Any chance I can get one of you to go over my valueexpression and see what I am missing?
I am working on a project report. I have a milestone process assigned, and milestones assigned to key tasks. I want to report milestone status at project level and I only want one response, either the last completed milestone or the next milestone not yet completed. However, as you can see below my output gives me each milestone. I was hoping it would only return the first one that met the criteria. Help?
| Column Name | Last Completed Milestone | Next Incomplete Milestone |
| Output | M0 Pre-Planning: 12/10/24 [should only show last milestone named M1] | M2 Development [should only show first milestone named M2] |
| Text Mode | displayname=Last Completed Milestone | displayname=Next Incomplete Milestone |
| listdelimiter=<br> | listdelimiter=<br> | |
| listmethod=nested(tasks).lists | listmethod=nested(tasks).lists | |
| textmode=true | textmode=true | |
| type=iterate | type=iterate | |
| valueexpression=IF({milestone}.{name}="M5 Live" && ISBLANK({actualCompletionDate})=false,CONCAT("M5 Live: ",{actualCompletionDate}),IF({milestone}.{name}="M4 Launch" && ISBLANK({actualCompletionDate})=false,CONCAT("M4 Launch: ",{actualCompletionDate}),IF({milestone}.{name}="M3 Compliance Approval" && ISBLANK({actualCompletionDate})=false,CONCAT("M3 Compliance Approval: ",{actualCompletionDate}),IF({milestone}.{name}="M2 Development" && ISBLANK({actualCompletionDate})=false,CONCAT("M2 Development: ",{actualCompletionDate}),IF({milestone}.{name}="M1 Kick-Off" && ISBLANK({actualCompletionDate})=false,CONCAT("M1 Kick-Off: ",{actualCompletionDate}),IF({milestone}.{name}="M0 Pre-Planning" && ISBLANK({actualCompletionDate})=false,CONCAT("M0 Pre-Planning: ",{actualCompletionDate}),"")))))) | valueexpression=IF({milestone}.{name}="M0 Pre-Planning" && ISBLANK({actualCompletionDate}),"M0 Pre-Planning",IF({milestone}.{name}="M1 Kick-Off" && ISBLANK({actualCompletionDate}),"M1 Kick-Off",IF({milestone}.{name}="M2 Development" && ISBLANK({actualCompletionDate}),"M2 Development",IF({milestone}.{name}="M3 Compliance Approval" && ISBLANK({actualCompletionDate}),"M3 Compliance Approval",IF({milestone}.{name}="M4 Launch" && ISBLANK({actualCompletionDate}),"M4 Launch",IF({milestone}.{name}="M5 Live" && ISBLANK({actualCompletionDate}),"M5 Live","")))))) | |
| valueformat=HTML | valueformat=HTML |