Anthony stark Posted September 5, 2019 Share Posted September 5, 2019 Im trying to create a calculated column for some time spans for a workorder backlog. The times/ columns that need to be created are: are 6-12 months, 12-24 months, and 24-60 months. i have a [reportdate] column, how do i write an expression to meet these requirements Thanks in advance Link to comment Share on other sites More sharing options...
Khushboo Rabadia Posted September 10, 2019 Share Posted September 10, 2019 You can create calculated columnlike Case when datediff(mm,datetimenow(),[reportdate]) 6 then 6-12 months when datediff(mm,datetimenow(),[reportdate]) 12 then 12-24 months when datediff(mm,datetimenow(),[reportdate]) 24 then 24-60 months End Link to comment Share on other sites More sharing options...
Anthony stark Posted September 10, 2019 Author Share Posted September 10, 2019 Thanks Khushboo, i appreciate it Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now