Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
Solved! Go to Solution.
Hi @NeroX ,
First, replace null with a date value:
Then, in the formula bar, change the auto-generated code from this:
...to this:
Pete
Proud to be a Datanaut!
Hi @NeroX ,
First, replace null with a date value:
Then, in the formula bar, change the auto-generated code from this:
...to this:
Pete
Proud to be a Datanaut!
Thank you both.
It is solved. 🙂
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |