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
I'm trying to create a custom column using
DateTime.AddZone([Time],0) this formula , but getting error
Solved! Go to Solution.
DateTime.AddZone adds timezone information to the dateTime value. Is your [Time] column in datetime type? If not, it will cause an error. For example, if the [Time] column is Time type, it will have the following error.
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
DateTime.AddZone adds timezone information to the dateTime value. Is your [Time] column in datetime type? If not, it will cause an error. For example, if the [Time] column is Time type, it will have the following error.
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
Click in the cell beside the error please, and post it.
Also, can you show us what the column looks like before the error step?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!