Forum Discussion
hprose
Helper I
3 years agoPresent in previous week but missing in current week
Hi all, I have data roughly in the below format. For each week, I want to get the count of IDs that were present in the previous week but are missing in the current week. In the example below, Ap...
- 3 years ago
Missing = VAR __wk = MAX( STAT[week] ) RETURN TOCSV( EXCEPT( CALCULATETABLE( VALUES( STAT[id] ), STAT[week] = __wk - 7 ), VALUES( STAT[id] ) ), , , FALSE() )
Ashish_Mathur
Super User
3 years ago- hprose3 years ago
Helper I
Thank you for your help Ashish_Mathur !
- Ashish_Mathur3 years ago
Super User
You are welcome.