I have some documents that need to be deleted based on the following criteria: one year after termination, or three years after hire date, whichever is greater. I have created two calculated columns showing the purge dates based on the hire/term, but need to show the greater of the two for my filter. Can someone provide some guidance on how to create a calculated field to show the greater of the two values?
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
As a reference here is the msdn article on calculated field The basic is that you convert the dates to integers, and then use the max function to get the largest value. So something like: (Please note date/time string format depends on where you are so check it!)
|
||||
|
|
