Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Replace values in a time column: Replace errors with "Current Time"

Hi, I am trying to replace error values in a Time column to the "Current Time".  The syntax I suppose should do this, is DateTime.Time(DateTime.LocalNow()).   However, this option doesn't seem to be viable.  Screenshot_1.png

 

 

Any advice please?

 

Kind regards,

Malan

 
1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

You can not do it with the UI as it will not accept functions, however, you can do it by:

Replacing Errors with 00:00:00 like below.image.png

And later replacing the #time( 0, 0, 0 ) in your Replaced Error Step with your expression, like belowimage.png
image.png

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

 

View solution in original post

1 REPLY 1
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

You can not do it with the UI as it will not accept functions, however, you can do it by:

Replacing Errors with 00:00:00 like below.image.png

And later replacing the #time( 0, 0, 0 ) in your Replaced Error Step with your expression, like belowimage.png
image.png

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors