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
LcO_Fr
New Member

2 reports showing different result from the same dataset

Hello Everybody,

 

I have a dataset with a table where there is a Time column (UTC)

I have created a calculated column to convert it in local time, which works perfectly (1st screenshot)

05:00 is converted in 07:00 (I'm in france 🙂 )

 

If a create a 2nd report based on the same dataset and cut/past my table, the result is différent and the time is not converted in local time.

 

I really don't understand.

Do you have any idea ?
Can i give you additionnal informations to help ?

 

dataset.jpgreport.jpg

3 REPLIES 3
christinepayton
Super User
Super User

Could you post the DAX for the calculated column?

Here it is 🙂

 

It's a M formula.

 

 

DateTimeZone.ToLocal(

DateTime.AddZone(
    #datetime(Date.Year([Period Start.Day]), Date.Month([Period Start.Day]), Date.Day([Period Start.Day]), Time.Hour([Period Start.Time]), Time.Minute([Period Start.Time]),Time.Second([Period Start.Time])),0)
)

 

 

 

Hmm are you looking at both in the service? Or is one in desktop and one not? There's a thread here on timezone issues that may have something that applies: https://community.fabric.microsoft.com/t5/Service/Set-local-time-zone-Power-BI-Service/m-p/114120 

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.