Forum Discussion
Unknowncharacte
Helper III
2 years agoTime Intelligence Question
Hi, I need to create a measure to calculate # of cases that were opened for longer than 90 days and visualize it on a historical line chart. So, something like if time frame between date open an...
- 2 years ago
Hello, Unknowncharacte ,
try something like this:
LongerThan90 = COUNTROWS(FILTER('Fact Table', ( IF( ISBLANK('Fact Table'[Date Closed]), TODAY(), 'Fact Table'[Date Closed]) - 'Fact Table'[Date Opened] ) > 90))
ThxAlot
Super User
2 years agoYour question has nothing to do with Time Intelligence functions.
Use COALESCE() to replace blank Closed Date on the fly.
= COALESCE( MAX( 'Fact Table'[Date Closed] ), TODAY() ) - MAX( 'Fact Table'[Date Opened] ) >= 90- Unknowncharacte2 years ago
Helper III
Alright, what would you refer it as?