Forum Discussion
RESOLUTION TIME
How can I compute the resolution time per ticket category and status category?
These are the cases:
1. Time created (RESOLVED) - Time created (IN PROGRESS)
2. (Time created (PENDING) - Time created (IN PROGRESS))+(Time created (RESOLVED) - Time created (IN PROGRESS))
3. (Time created (PENDING) - Time created (IN PROGRESS))+(Time created (PENDING) - Time created (IN PROGRESS)) + (Time created (RESOLVED) - Time created (IN PROGRESS))
1 Reply
- Greg_DecklerCommunity Champion
Anonymous See my article on Mean Time Between Failure (MTBF) which uses EARLIER: http://community.powerbi.com/t5/Community-Blog/Mean-Time-Between-Failure-MTBF-and-Power-BI/ba-p/339586.
The basic pattern is:
Column =
VAR __Current = [Value]
VAR __PreviousDate = MAXX(FILTER('Table','Table'[Date] < EARLIER('Table'[Date])),[Date])
VAR __Previous = MAXX(FILTER('Table',[Date]=__PreviousDate),[Value])
RETURN
__Current - __Previous