How Can I MAX a date but display it on the Analysis/Dashboard?
I am aware I can use the following to max a date:
extract('YYYY',OrderCreatedDate) * 365 + extract('MM',OrderCreatedDate) * 31 + extract('DD',OrderCreatedDate)
But how I can put it back into a Date Format to display to users, I want to display the "last" order date the customer placed.
Thanks