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
LP2803
Responsive Resident
Responsive Resident

DateTime/Zone conversion

Hi Team,

 

I have the below "Column1._source.@timestamp - Raw" which is from the datasource. When I duplicate the column and convert to DateTime type, it add 5.30 hours as marked below.  

 

question : How can i get the same date and time without adding 5.30 hours?

LP2803_0-1607348715898.png

 

1 ACCEPTED SOLUTION
LP2803
Responsive Resident
Responsive Resident

I could resolve my query with the solution provided in the below post

customcolumn = [DateTimecolumn]+#duration(0,-5,-30,0)

 

https://community.powerbi.com/t5/Desktop/How-to-add-hours-to-DateTime-data/td-p/104443

 

View solution in original post

3 REPLIES 3
LP2803
Responsive Resident
Responsive Resident

I could resolve my query with the solution provided in the below post

customcolumn = [DateTimecolumn]+#duration(0,-5,-30,0)

 

https://community.powerbi.com/t5/Desktop/How-to-add-hours-to-DateTime-data/td-p/104443

 

amitchandak
Super User
Super User

@LP2803 , how you duplicated this column ?

Right Click on Column > Duplicate Column. I duplicated it as i need to keep the Original Date format from the datasource for other charts.

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.