Forum Discussion
filip_u_s
2 years agoRegular Visitor
Not getting Duration to work.
Hi all. I'm trying to get out the total number of minutes from "Sluttid" and "Starttid" and find how many minutes differs the two. However Durations don't seem to work like you can see below and ...
- 2 years ago
filip_u_s I think your two columns are Time columns and not Duration columns so you will need to convert them to Duration columns first. Or use Time.Minute instead.
- 2 years ago
Good day filip_u_s,
Table.AddColumn(#"Filtrerade rader1", "Mintid", each Duration.TotalMinutes([Sluttid]-[Starttid]), Int64.Type)
gives,
This should work provided Sluttid is greater than Starttid.
Hope this helps.
collinsg
2 years agoSolution Sage
Good day filip_u_s,
Table.AddColumn(#"Filtrerade rader1", "Mintid", each Duration.TotalMinutes([Sluttid]-[Starttid]), Int64.Type)
gives,
This should work provided Sluttid is greater than Starttid.
Hope this helps.