DATETIME_DIFF showing Negative Result

So im trying to calculate days that are left for a project to end.
Im using
DATETIME_DIFF({End Date}, TODAY(), ‘days’) but some ended projects show -2 (the ones that ended 2 days ago) how can I make them just stay at 0? Maybe an if condition. But Cant seem to find it. Thanks!

MAX(0, DATETIME_DIFF({End Date}, TODAY(), 'days'))
1 Like

Works! I appreciate it! :clap:

This topic was solved and automatically closed 3 days after the last reply. New replies are no longer allowed.