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!View all the Fabric Data Days sessions on demand. View schedule
Hello,
I am trying to add an imported date column during the Power Query step of my dataflow. I have an inserted timestamp for the source, however that timestamp can change. I am trying to utilize the incremental refresh capabilities of Dataflows and advice from Microsoft is that if one wants to use the (Detect Max Data Changes) option, I would need a DateTime column that would not change.
This led to me trying to create the DateTime column in Power Query. I cannot use DAX since DAX is not allowed at this step of the Dataflow process.
I tried adding a custom column (seen below) but am getting this error:
Solved! Go to Solution.
It's close. It needs an "each" before DateTime.LocalNow
Did you type this in the advanced editor? If you use the 'Add Column' in the interface, it adds it for you
It's close. It needs an "each" before DateTime.LocalNow
Did you type this in the advanced editor? If you use the 'Add Column' in the interface, it adds it for you
Thank you @HotChilli it worked.
To your later question, yes I started with adding a conditional column then edited it in the advanced editor. I was unable to find the add new column in the interface. could you point me to where it is?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 10 | |
| 9 | |
| 6 | |
| 5 | |
| 3 |