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
MarcoUrbanic
Regular Visitor

Date in Power BI Table does not match date in VSTS

I am access a query in VSTS using Azure DevOps as the data source from Power BI.  The date fields in Power BI are not matching up to what is in VSTS.  For example:

 

Desired date in VSTS is 4/27/2019 12:00 am

Desired date showing up in Power BI table is 4/26/2019 12:00 am

 

Maybe something to do with timezones?  But I can't figure it out.  I need the date to be the same in Power BI exactly as it is in VSTS.

 

Thanks in advance for any help!

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

@MarcoUrbanic ,

 

Click query editor-> Add custom column then using power query function like below:\

DateTimeZone.SwitchZone(#datetimezone(2010, 5, 4, 6, 5, 5, 0, 0), 😎 equals #datetimezone(2010, 5, 4, 14, 5, 5, 8, 0)

Reference: https://docs.microsoft.com/en-us/powerquery-m/datetimezone-switchzone

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yuta-msft
Community Support
Community Support

@MarcoUrbanic ,

 

Click query editor-> Add custom column then using power query function like below:\

DateTimeZone.SwitchZone(#datetimezone(2010, 5, 4, 6, 5, 5, 0, 0), 😎 equals #datetimezone(2010, 5, 4, 14, 5, 5, 8, 0)

Reference: https://docs.microsoft.com/en-us/powerquery-m/datetimezone-switchzone

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.