Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello!
I am trying to calculate a waiting time between the moment that the customer opens a claim and an agent resolves it. In other words, it is a difference between two times in Power Bi. I tried to used DATEDIFF formula, but my both columns are in Time format: HH:MM:SS, not DateTime format, so it is not working correctly.
Any ideas how can I calculate it?
Solved! Go to Solution.
Hi @magus ,
Basically the datediff() function should work when the date format is HH:MM:SS.
You can also create a calculated column like this to calculated the minutes diff:
Basic calculation column =
VAR diff = [Resolution hour] - [Claim submition hour]
RETURN
HOUR ( diff ) * 60
+ MINUTE ( diff )
+ SECOND ( diff ) / 60
Attached a sample file in the below, hopes it could help.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @magus ,
Basically the datediff() function should work when the date format is HH:MM:SS.
You can also create a calculated column like this to calculated the minutes diff:
Basic calculation column =
VAR diff = [Resolution hour] - [Claim submition hour]
RETURN
HOUR ( diff ) * 60
+ MINUTE ( diff )
+ SECOND ( diff ) / 60
Attached a sample file in the below, hopes it could help.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello! I would like to get a new column with waiting time in minutes (difference between Hour of claim submition - hour of resolution). Like this:
The example that I show is a result I got in other Query, but in that query I had Source Data with DateTime format. The formula was like below:
Can you give some examples of the result you are expecting.
Proud to be a Super User!
Hello! I would like to get a new column with waiting time in minutes (difference between Hour of claim submition - hour of resolution). Like this:
The example that I show is a result I got in other Query, but in that query I had Source Data with DateTime format. The formula was like below:
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
85 | |
65 | |
50 | |
45 |
User | Count |
---|---|
217 | |
88 | |
81 | |
65 | |
56 |