Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
9 | |
7 | |
6 | |
6 |