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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
rrodillas012
New Member

PowerBI DirectQuery, Date and Time conversion from UTC to UTC+13

Hi Good Day! 

I currently creating a dashboard on PowerBI Desktop using DirectQuery and it's connected to Dynamics365 Dataverse, I'm having a hard time figuring out how to convert the date and time from UTC to local time zone (Auckland NZ).
Table name: incident
Date column name: Created On 

I've tried modifying it thru power editor seems like it wasn't allowed in DirectQuery. 

Can someone provide some possible ways on how to convert date and time from UTC to UTC+13?

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @rrodillas012 ,

 

try to

1) create a calculated date table referencing your original datetime column,

2) shift 13h with a new date column

3) add the year, month column based on the shifted date column.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @rrodillas012 ,

 

Please try this

vxiaocliumsft_0-1729740294312.png

NewTable= Table.TransformColumns(dbo_cr6d7_table14, {"cr6d7_datecolumn", each _ + #duration(0, 13, 0, 0)})

 

Best Regards,

Wearsky

FreemanZ
Super User
Super User

hi @rrodillas012 ,

 

try to

1) create a calculated date table referencing your original datetime column,

2) shift 13h with a new date column

3) add the year, month column based on the shifted date column.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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.