Forum Discussion

malesev_s's avatar
malesev_s
New Member
6 years ago

report refresh and timezone not updating

Hi,

 

I am having a problem with daily reports being a 10 hours behind.

I am in UTC+10 Syd Aust 

I date my reports with DAX (TODAY) and my reports do not display todays data until 10am UTC+10

Datasets and scheduled refreshes always work 

 

How do I get everything in the correct timezone?

 

Thanks in advance 🙂  

1 Reply

  • If you are using Power BI Report Server then this would suggest that your server is set to UTC time, if you set the timezone settings on the server this should fix your issue.

     

    If you are using powerbi.com then all the servers are always set to UTC time so you need to use a different approach. One simplistic approach is to just add 10 hours, but that does not deal with daylight savings issues.

     

    A friend of mine use a power query like the following to get the localtime in Sydney into his Power BI Reports

     

    let
        Source = Json.Document(Web.Contents("http://worldtimeapi.org/api/timezone/Australia/Sydney")),
        #"Converted to Table" = Record.ToTable(Source),
        #"Transposed Table" = Table.Transpose(#"Converted to Table"),
        #"Promoted Headers" = Table.PromoteHeaders(#"Transposed Table", [PromoteAllScalars=true]),
        #"Removed Other Columns" = Table.SelectColumns(#"Promoted Headers",{"datetime"}),
        #"Changed Type" = Table.TransformColumnTypes(#"Removed Other Columns",{{"datetime", type datetimezone}})
    in
        #"Changed Type"