Forum Discussion
HenryJS
5 years agoPost Prodigy
Calculate difference between two times? In HH:MM:SS
Hi all, How do I calculate the difference between two time columns? Both columns are in HH:MM:SS and I would like the difference column to be the same. thanks,
- Anonymous5 years ago
Hi HenryJS,
Perhaps you can try to convert your time value to total second(numeric) then you can simply use math operator to calculate on converted values.
For duration and time value transform, you can take a look at the following blog:
Regards,
Xiaoxin Sheng
PhilipTreacy
5 years agoSuper User
Hi HenryJS
In Power Query create a new Custom Column and subtract one from the other
#"Added Custom" = Table.AddColumn(#"Changed Type", "Difference", each [End]-[Start])Phil
HenryJS
5 years agoPost Prodigy
PhilipTreacy unfortunately the time columns are DAX columns