Forum Discussion
Elder22
9 years agoFrequent Visitor
DATEDIFF help
Hi, I have searched the forums for the problem I am having and cannot seem to find the exact problem, so hope you can help! I am trying to work out the difference between two dates in months,...
- 9 years ago
Elder22 so do you want to ignore the opportunity dates that are > than today?
if so its really quite simple, you can ignore it until its relevant
DateDiff =
IF (
TODAY () > Opportunity[Close Date],
DATEDIFF ( Opportunity[Close Date], TODAY (), MONTH ),
0
)
vanessafvg
9 years agoCommunity Champion
Elder22 so do you want to ignore the opportunity dates that are > than today?
if so its really quite simple, you can ignore it until its relevant
DateDiff =
IF (
TODAY () > Opportunity[Close Date],
DATEDIFF ( Opportunity[Close Date], TODAY (), MONTH ),
0
)
- Elder229 years agoFrequent Visitor
Hello,
Thanks for your response - this worked fine for me, thanks very much I will mark as solved.