Forum Discussion
OhLookAnError
Helper I
3 years agoHow to return a zero when subtrahend is blank
I am trying to acurately display days since opened and days since closed in calculated columns. My days since closed column which is: Days Since Closed = tblAccounts[Todays Date] - tblAccounts[...
- 3 years ago
Hi OhLookAnError
Please tryDays Since Closed = tblAccounts[Todays Date] - COALESCE ( tblAccounts[Account Closed], tblAccounts[Todays Date] )
FreemanZ
Super User
3 years agotry this:
Days Since Closed =
VAR _duration =
tblAccounts[Todays Date] - tblAccounts[Account Closed]
RETURN
IF(
[Account closed Column]=BLANK(),
0,
_duration
)