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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ratgdillon
Frequent Visitor

Dataset to Standarize Time Across Time Zones

Right now I have some data that involves date/time and city/state/country. All times are recorded in Eastern Standard time, but some entries are in different time zones. I would like to visualize this data by hour of day. I want to download a dataset that includes time zone by county or city so I can link it to my dataset to compare time of sales across geography.

 

Any suggestions?

 

CityStateCountyCountrySalesDateTime
DallasTXDallasUS$42.008/23/209:14:09 PM
FiskdaleMAWorcesterUS$12.008/15/2012:39:16 PM
CentervilleCAFresnoUS$30.008/7/201:38:46 PM
3 REPLIES 3
Greg_Deckler
Super User
Super User

@ratgdillon I used a TimeZones.csv file in my book DAX Cookbook, you can download it from here:

https://github.com/gdeckler/DAXCookbook

 

Chapter 3. Let me know if it helps or not, @ me in replies.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Decklerthe dataset needs to link county or city to time zone. Listing the time zone and its time offset is helpful, but it won't be of any use if I can't link each row (city/state) to its corresponding time zone.

@ratgdillon I've never found a good list for this. Maybe find a list of the lat/long of each city. Get a similar list for the long of each time zone. Then you could create a calculation to figure out the time zone based upon each city's longitude?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.