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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Time Zone Error

Hi,

 

I am getting error when I change the data type to date/time/zone.

 

Input data has values like mm-dd-yyyy hh:ss:mm timezone. When I change the data type to time-zone its giving error. Please advice.

 

 

112233ErrorErrorAttaching samples images.

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

First split column

8.png

Then add a custom column

Custom=
#datetimezone(Date.Year([#"date-act.1"]),Date.Month([#"date-act.1"]),Date.Day([#"date-act.1"]),Time.Hour([#"date-act.1"]),Time.Minute([#"date-act.1"]),Time.Second([#"date-act.1"]),-7,0)

9.png

 

Best Regards

Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

First split column

8.png

Then add a custom column

Custom=
#datetimezone(Date.Year([#"date-act.1"]),Date.Month([#"date-act.1"]),Date.Day([#"date-act.1"]),Time.Hour([#"date-act.1"]),Time.Minute([#"date-act.1"]),Time.Second([#"date-act.1"]),-7,0)

9.png

 

Best Regards

Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

tarunsingla
Solution Sage
Solution Sage

Could you click on one of the errors and confirm what is the error message? It could be the records that are not a valid date time.

 

Regards,

Tarun

Anonymous
Not applicable

Hi

 

Will there any option to correct this.

 

Error pic attaching intoquestion  section.

Looks like an issue due to the time zone designator in the data.

If PDT or PST is not necessary, you may try removing the last 3-4 characters from your date column and then parse the date.

If the timezone is required, you may try extracting the timezone characters from the date and replace those with the hours:minutes to be adjusted (+ -) and then combine the two to get datetimezone.

 

Regards,

Tarun

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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 Solution Authors