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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.