This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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]
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 39 | |
| 28 | |
| 28 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 37 | |
| 32 | |
| 27 | |
| 25 |