Forum Discussion

odzelashvili1's avatar
5 years ago
Solved

Time interval for unique records

Hello everybody and thanks in advance 🙂

 

I have table with 3 column:

visit_key - which is unique ID for unique visits

Process - where i see what happened, for e.i. Visit created, visit ended, Visit Transfered and so...

Time - In what time process happend 

 

visit_keyProcessTime
1VISIT_CALL16:08:56
1VISIT_NEXT16:08:56
1VISIT_CREATE16:08:56
1VISIT_END16:09:20
2VISIT_CALL16:09:50
2VISIT_NEXT16:09:50
2VISIT_CREATE16:09:50
2VISIT_END_TRANSACTION16:09:52
2VISIT_TRANSFER_TO_USER_POOL16:09:52

 

I need to write dax formula, where I can see what time does it took from VISIT_CREATE to VISIT_END for every unique Visit key.

 

I hope I eplained well what I need with my trouble english 🙂

 

any suggestions?

 

 

2 Replies