Forum Discussion
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?
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
3 Replies
- amitchandakSuper User
LP2803 , how you duplicated this column ?
- LP2803Responsive Resident
Right Click on Column > Duplicate Column. I duplicated it as i need to keep the Original Date format from the datasource for other charts.
- LP2803Responsive 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