Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

How do I subtract the ticket end time from 12:00:00 AM

I need to calculate the ticket end time before 12 AM. So that I can get the hours spent on the ticket during one day.

 

Any help would be appreciated

 

@AlB @amitchandak

2 REPLIES 2
Anonymous
Not applicable

The result I need is Ticket end time on or before 23:59:59 PM on a specific date.

 

Example:- if a sepcific ticket is worked from 25/11/2020 9:15 PM to 26/11/2020 3:15 AM

 

Ticket end time on or before 23:59:59 PM should come under 25/11/2020 and on or after 12 AM should be calculated under 26/11/2020.

 

Ticket IDstart_timeend_time
102/09/2020 17:0403/09/2020 02:17
217/05/2020 20:2018/05/2020 05:29
311/08/2020 20:1012/08/2020 05:19
401/07/2020 13:3101/07/2020 22:40
521/09/2020 13:2421/09/2020 22:35
627/09/2020 10:5527/09/2020 20:15
705/08/2020 13:5505/08/2020 23:03
816/07/2020 13:5616/07/2020 23:05
924/07/2020 13:5824/07/2020 23:08
1021/08/2020 10:0021/08/2020 19:14
1123/06/2020 21:0124/06/2020 06:16
1225/06/2020 20:4926/06/2020 06:03
1320/08/2020 21:0321/08/2020 06:11
1424/07/2020 11:0024/07/2020 20:13
1501/10/2020 10:5401/10/2020 20:07
1601/05/2020 23:5902/05/2020 09:09
1729/09/2020 22:1730/09/2020 07:28
1805/03/2020 23:3906/03/2020 08:58
1909/01/2020 13:3809/01/2020 22:51


This is what I am trying to achieve, if you can help me with this 

amitchandak
Super User
Super User

@Anonymous , I think this was asked previously too.

How do I know the time spend?

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.