Sorting by results of a valueexpression?
Hello,
Does anyone know if it's possible to force sort the results of a valueexpression in a report?
For example, I'm creating an issue report with a column that shows the resolving project's Last Update Date. If the issue does not have a resolving project, then the issue's Last Update Date will display instead:
displayname=Last Update Date
textmode=true
valueexpression=IF(ISBLANK({resolveProject}.{lastUpdateDate}),{lastUpdateDate},{resolveProject}.{lastUpdateDate})
valueformat=atDate
I would like to sort by this column first, then have the results sort in descending order, so I added this code to the above:
sortOrder=1
sortType=desc
However, this completely broke the report, so I may be totally off track with this approach. Any help would be greatly appreciated!