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

Join 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.

Reply
dpc_development
Helper III
Helper III

Using parameters to allow user to set timezone

I am creating a report template, where I'd like to allow the user to enter their timezone using parameters, so I can use it to do some timezone conversions in the report.

 

I see there is a DateTimeZone parameter data type, but I just can't figure out what to type in there. I tried typing UTC, GMT, UTC-0, etc. and some other values I copy-pasted from wiki for a list of timezones.

 

Basically, I have a single table in my data model, but the date column is recorded at a different timezone for each organisation, and I'd like to create a calculated column later that uses the data's timezone value to convert to a common timezone.

3 REPLIES 3
jprdynamicapps
Helper IV
Helper IV

DateTimeZone is a datatype that represents date, time and timezone. A sample text representation is "2020-12-09T16:09:53+00:00", which is GMT (zero offset).

dpc_development
Helper III
Helper III

@amitchandakI had already seen that article earlier. I need what the person in the first comment is asking - named timezone. Also I need to be able to switch to different timezones, as an analyst in country needs to be able to analyse the data as if they were in a different country. Hence, I thought allowing them to choose from a list of timezones would be very efficient.

 

I can't used fixed numbers as that'd ignore DST. If I can figure out how to enter a list of datetimezone values in the parameter as a list, I should be able to figure out the rest.

amitchandak
Super User
Super User

@dpc_development , refer if this can help

https://www.poweredsolutions.co/2019/10/21/handling-different-time-zones-in-power-bi-power-query/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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