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
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?
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 |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 3 |