I’m trying to calculate the min, max, and average times (in days) between these two dates for all users for an internally-used analytics dashboard.
I’ve been attempting to use the ListCalculator plugin, but it appears that it doesn’t support date math. (Or maybe I’m missing something.)
Are there any workarounds or plugins that would help me do this?
(I do not want to store the calculation as a field on the User itself – looking for ways to calculate this on-the-fly.)
Create a repeating group, make it data type of number, in that datasource set it to search for user then do each items signed up date - each items completed onboarding (or reverse that order) formatted as and choose days.
I’m not 100% sure that works as I am not testing the theory, but give it a test.
@tylerboodman shared a nice and simple solution. It’s a good example to understand how some bubble functions work. If someone needs to write some javascript to do complex array calculations, they can use this solution.
By the way, he touched on a very important issue. If your user table is large, I suggest you use a satellite user table.