Forum Discussion
hdhillon
4 years agoAdvocate III
Custom Column If statement using todays date + 60 days
Hi All, Im trying to create a custom column which looks to see if an existing column is less the todays date + 60 days and will return text in new column saying "over" or "under" I wrote the ...
- 4 years ago
Actually was able to solve it my self. Using the following:
if [Valid until] < Date.AddDays(Date.From(DateTime.LocalNow()),60) then "under" else "over"
hdhillon
4 years agoAdvocate III
Actually was able to solve it my self. Using the following:
if [Valid until] < Date.AddDays(Date.From(DateTime.LocalNow()),60) then "under" else "over"