Is it possible to use sky db for cohort analysis.
Sorry for the delay in getting back to you. Sky doesn't have full cohort analysis in place right now. It has something called Temporal Loops which allow you to iterate over a fixed time period (e.g. 1 month) for X number of times.
For example, this query will return the number of active customers starting from each customer's first event
WHEN action == "signup" THEN
FOR i EVERY 30 DAYS WITHIN 180 DAYS
FOR EACH EVENT
WHEN is_active == true THEN
SELECT count() GROUP BY i
END
END
END
END