Hi
First time post - I couldn't see a DAX thread? I've been using Powerpivot for years but normally I create measures in the source data before Excel & have more normalized data through ETL process, but this isn't possible in this case.
I want to create a measure in DAX that allows me to group by a parent id & perform calculations / aggregation between rows when grouped.
For example, with the data below; What is the average time between a case being opened & closed?
Many Thanks in advance for any help!
case_id datetime status 1 1/2/2017 1:23:00 PM opened 1 1/2/2017 2:00:00 PM esclated 1 1/2/2017 2:00:00 PM closed 2 1/3/2017 11:00:00 AM opened 2 1/3/2017 11:15:00 AM esclated 2 1/3/2017 11:45:00 AM replied 2 1/3/2017 5:00:00 PM closed 3 1/3/2017 3:00:00 PM opened 3 1/3/2017 3:26:00 PM esclated 3 1/3/2017 3:39:00 PM closed
Bookmarks