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
Bokbob
Helper I
Helper I

Date format issues in Power query

Hi All, i have a sharepoint list item with pick up time as 20/06/2017 09:00 AM. but my Logic app is inserting it in SQL table  as  '2017-06-19 23:00:00.000'

 

where as when am accessing that tables values power query some how changing it as  

19/06/2017 11:00:00 PM

 (May be US time zone)

 

but i really need to convert it as (show on my report as ) 20/06/2017 09:00 AM.

 

Please help.

 

 

 

 

 

1 ACCEPTED SOLUTION

Hi Farhan, Thank you for the reply. I have added DAX column by adding 10/24 it worked fine now.

 

 

View solution in original post

3 REPLIES 3
FarhanAhmed1984
Resolver III
Resolver III

It seems like TimeZone is different

 

- Goto Add Column,

- Click Custom Column

- Add DateTime with Time Zone "DateTime.AddZone(YourDate,Zone)"

- Click Ok

- Change the Column Type to "DateTime"

- Hide your old date column and use this one

 

Now you will see correct date/time in your report.

 

 

 

Anonymous
Not applicable

Hi @FarhanAhmed1984, hi @ all,

 

i'm struggling with quite the same issue. I get my data from a sharepoint list with a lot of several dates, so it would be unsuitable to add a new column everytime for every single date. 

Is there any possibility to undo the struggle by changing the settings for timezones or some such things?

 

date example:

Sharepoint: 31/10/2018 00:00:00

-> PBI:         30/10/2018 

 

 

Thanks in advance.

Hi Farhan, Thank you for the reply. I have added DAX column by adding 10/24 it worked fine now.

 

 

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.