Forum Discussion
Anonymous
5 years agoNot applicable
IF formula for Custom Column error
My goal is to replace empty date values in a table to a custom date value (31/12/9999 e.g.) by adding a new column where I use an IF function. The new column should be composed out of '31/12/9999...
amitchandak
5 years agoSuper User
Anonymous , Try like
IF ( ISBLANK ([Date Finished]) , date(9999,12,31), [Date Finished])
Anonymous
5 years agoNot applicable
Any more ideas? amitchandak
- amitchandak5 years agoSuper User
Anonymous , That was DAX.
Try this on Power Query
if [Date Finished] =null then Date.FromText("9999-12-31") else [Date Finished]
- manikumar345 years agoSolution Sage
Anonymous ,
You are trying DAX in Power query.
Please use the same DAX with Calculated column.
Regards,
Manikumar