Forum Discussion
Anonymous
3 years agoNot applicable
Calculate difference between dates, use TODAY for blanks
Hi Experts, I want to calculate Tenure in months and have a Tenure start date column and a Termination date column. If the termination date column is blank, I want to calculate the number of...
- 3 years ago
Anonymous TRy this DAX Column:
Tenure Month =
VAR NewTermDate = IF(TerminationDate=BLANK(), TODAY(),TerminationDate)
RETURN DATEDIFF(Tenure Start Date, NewTermDate, MONTH)
Tahreem24
Super User
3 years agoAnonymous TRy this DAX Column:
Tenure Month =
VAR NewTermDate = IF(TerminationDate=BLANK(), TODAY(),TerminationDate)
RETURN DATEDIFF(Tenure Start Date, NewTermDate, MONTH)