Forum Discussion
NeroX
3 years agoHelper I
Replace values to formula
Hello, How can i use formula to "Replace values" ? I have column with dates and i want replace values "null" to formula "=TODAY()" What can i do? Thank you.
Einomi
3 years agoHelper V
I would create a blank query, that will give me today's date and will rename this query DateNow
= Date.From(DateTime.LocalNow())
Then on your date replace the null values by any date, then tweak the M code as below
= Table.ReplaceValue(#"Type modifié",null,DateNow,Replacer.ReplaceValue,{"Date"})
And it should work
Let us know