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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.