Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
danieldors
Contributor III
Contributor III

Group by Days

Hello,

 

I'm trying to group the count number of cases by days, 31-60,61-90,91-120 and 120+ days. The data would show 31-60= 1,000 cases,61-90 2,000 cases etc. Any help would be appreciated.

Thank you.

1 Solution

Accepted Solutions
Almen
Creator II
Creator II

You'd simply create some buckets in your script and count those:

 

 

 

IF(Days>=31 and Days<61,Dual('31-60',1),
IF(Days>=61 and Days<90,Dual('61-90',2),
...)

as 

BucketDays

 

 

 

 

View solution in original post

1 Reply
Almen
Creator II
Creator II

You'd simply create some buckets in your script and count those:

 

 

 

IF(Days>=31 and Days<61,Dual('31-60',1),
IF(Days>=61 and Days<90,Dual('61-90',2),
...)

as 

BucketDays