Counting Calls in 30 mins increments
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
Attached is a sample data file which lists calls made by date and time. I am trying to develop a workflow that groups the time into 30-min increments (i.e. 7:00:00 AM, 7:30:00 AM, 8:00:00 AM ) and count the number of calls for each 30-min increment. I can use a Formula tool but would require 48 IF-THEN-ELSE statements. Would there be a more efficient way to accomplish this?
Would be greatly appreciated if someone in the community can assist
Thank you!
Solved! Go to Solution.
- Labels:
- Best Practices
- Time Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
In your case, I recommend to prepare 48 time zone group in advance, and cross-check with the input data like this.
Advantage of this way is that if you want to analyze data not only for 30mins but also for 15mins, 10mins...it can be easily adjusted on configuration of Generate Ros tool and Formula tool without having to change WF drastically.
Please have a look at the attached WF to see how it works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@oaevangelista2023
Maybe there is a better way.
We can use the Generate Rows Tool to generate all the 30 minutes interval, then use Append tool for filtering.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@gawa
I forgot about the Count part 😁
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you for the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Glad to help.
