Hi Frank,
No problem, I unmarked my post as a solution.
I understand better your situation, and it shouldn't be too difficult to do it with binning :
- Right-click in your column time, "New Formula Column", "Distributional", "Custom Binning".
- There, click on the red triangle next to "Cutpoints" and click on "Fill using Equal Width Bins..."
- Specify your offset and Width (every 6 mintues):
- Click on OK ; a new column "Custom Binning [Time]" has appeared.
- Right click on this new column, "New Formula Column", and then "GroupBy". You can also do this on your "Label" column (day) if you want a count for every 6 minutes for each day. Without this second column as groupby variable, the sum will only be done for each timeframe, no matter the day.
- Then, right-click on the column "Count", "New Formula Column", "Aggregate" and then "Sum". This will create a sum column of "Count" for every 6 minutes and by Day if you have chosen the two Groupby variables (Sum[Count][Custom Binning[Time],Label]) and the JSL formula is
Col Sum( :Count, :"Custom Binning[Time]"n, :Label )
If you have only selected the 6 minutes timeframe for your sum formula column, the JSL formula will be :
Col Sum( :Count, :"Custom Binning[Time]"n )
I hope I did understand better your question and that this answer will solve your question.
I attached the datatable with calculated column and graphs.
Victor GUILLER
L'OrƩal Data & Analytics
"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)