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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Convert Timezone Using Timezone Database Format

I have a query that contains two columns:

 

  1. Times: Contains a single time per row. Examples: 06:00, 12:00, 14:00, etc.
  2. Zone ID: Contains the timezone in the TZ Database format. Examples: Central Standard Time in the US is America/Chicago, UTC is Etc/UTC, etc.

Currently, the times are associated with the timezone in the Zone ID field. If a time is 06:00 and the Zone ID is America/Chicago, it means it is 6:00 AM CST. I am trying to convert all times to UTC (GMT). To do that, I have:

 

  1. Converted times data type to a date/time/timezone field
  2. Have tried creating a new field, DateTimeZone, using the following:

 

 

DateTimeZone.From([times], [Zone ID])​

 

 

This is giving me the following error:

 

DataFormat.Error: The specified culture is not supported.
Details:
America/Chicago

 

I am wondering if anyone has tips on getting around this? I've made sure the report is in English - US format. I'm under the impression you need to use the TZ format. Other things I've tried include creating a new duration column based off the GMT adjustment and adding that. However, that won't work, either!

 

 

 

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

Based on your description, you want to raise a query about time zone conversion using the TZ database format. Your method does not directly support TZ database identifiers (e.g., "America/Chicago") as input to the time zone parameter. This method typically requires a numeric offset from UTC, not a named time zone identifier.
You can create a region column to map to the TZ data to match the offset and then use DateTimeZone.SwitchZone().
DateTimeZone.From - PowerQuery M | Microsoft Learn
DateTimeZone.SwitchZone - PowerQuery M | Microsoft Learn
How-To: Convert UTC to Your Local Time Zone in Pow... - Microsoft Fabric Community

Best regards,
Albert He

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors