Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi Team,
i am new to power bi. i ahve a data sets which holds DATETIME column which have some NULL values . which i want to replace with the current time stamp. please help
Solved! Go to Solution.
HI @Anonymous,
I'd like to suggest you use replace value function to directly replace these null value to default value(you can't directly use power query function in the navigation pane), then you can use DateTime.LocalNow function to replace that static value to local DateTime.(replace value will auto changes when local datetime changes)
Regards,
Xiaoxin Sheng
HI @Anonymous,
I'd like to suggest you use replace value function to directly replace these null value to default value(you can't directly use power query function in the navigation pane), then you can use DateTime.LocalNow function to replace that static value to local DateTime.(replace value will auto changes when local datetime changes)
Regards,
Xiaoxin Sheng
@Anonymous , In Data transformation you have the option to replace value try that or create a new column in dax like this
https://yodalearning.com/tutorials/learn-how-replace-values-power-query/
https://docs.microsoft.com/en-us/power-bi/desktop-shape-and-combine-data
DAX
New column= if(isblank([datetime]),now(),[datetime])
OR
New column= coalesce([datetime],now())
Hi @Anonymous
create a new column
Column = IF(ISBLANK(Table[datetime]), NOW(), Table[datetime])
or a custom column in power query editor
= if [datetime] = null then DateTime.LocalNow() else [datetime]
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 37 | |
| 29 | |
| 24 |