@bgagliardi1 - Yes, I had to work out that silly formula to calculate the date of the Sunday. That should be replaced with relative_time(strptime(sys_created_on,"%Y-%m-%d %H:%M:%S"),"@w") . I was having a brain thunk because bin is not streaming distributable, but just now I realized that relative_time is. Serves me right for being up that late.
If "value" is already on the records, then this should be doing what you ask. You should have a field called statuscount for each week for each value...
| stats count as statuscount by WeekEpoch value
| rename WeekEpoch as _time, value as Status
| timechart sum(statuscount) as count by Status
... View more