Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi All,
I stuck with one scenarios,
Anyone help this one
I have two columns
One is Start Time=1:22:00
Second is End Time=19:23:00
My need is In Between time Overall Seconds and Hours
Thanks,
Thennarasu R
Solved! Go to Solution.
Hi @Thennarasu_R ,
According to your description, here is my solution.
You can use Duration.From , Duration.TotalHours and Duration.TotalSeconds in Power Query.
Create custom columns.
1, return the duration between two times.
= Duration.From([End time]-[Start time])
2, return Overall Seconds
= Duration.TotalSeconds([duration])
3, return Overall Hours
= Duration.TotalHours([duration])
Final output:
Best Regards,
Community Support Team _ xiaosun
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Thennarasu_R ,
According to your description, here is my solution.
You can use Duration.From , Duration.TotalHours and Duration.TotalSeconds in Power Query.
Create custom columns.
1, return the duration between two times.
= Duration.From([End time]-[Start time])
2, return Overall Seconds
= Duration.TotalSeconds([duration])
3, return Overall Hours
= Duration.TotalHours([duration])
Final output:
Best Regards,
Community Support Team _ xiaosun
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please see this article on how to best calculate durations.
Calculate and Format Durations in DAX – Hoosier BI
Pat
@ppm1
I found it Using Measures
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
70 | |
55 | |
37 | |
31 |
User | Count |
---|---|
83 | |
64 | |
63 | |
49 | |
45 |