Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello @all, I want to add timestamp from different olumn and get the exact result. Any idea how it c
No, I was saying that you should changed the types to number, did you use Int64.Type (whole number)? This way, 3AM becomes .125, 6AM becomes .25, 12PM becomes .5, and so on until a full day is 1. Since your example has the time stamps as time, so row 4 would equal 16 hours ten minutes, or about .67361111. Then you just convert that total back to a time, and you'll get 4:10 PM, and if you need that value as a duration, just wrap it all in Duration.From.
--Nate
@Anonymous actually i need to find time differences from one stage to other.....and then there sum and then there average. what happening is whenever there is second value is less than first value it itself getting substract which occurs mismatch in time
I would convert to number, then do the addition. Then convert back to time.
--Nate
@Anonymous sorry it did not worked and also time addition is different.....once it reaches to 60 it itself convert to 1 hour
Please see this article. You can convert all your time columns to decimal, do your math in a measure, and then format it at the end.
Calculate and Format Durations in DAX – Hoosier BI
Pat