I'd like to calculate a "stickiness" metric for each day as DAU/MAU where DAU is the "daily active user" (i.e. uniques visitors) of a specific day and MAU is the "monthly active user" (i.e. unique visitors for the 30 last days) for the same day (so period including this day and 29 days before).
It's easy to get the DAU per day thanks to a simple table with "day" dimension as rows and "unique visitors" metric as column.
But I don't know how to get the number of unique visitors on the last 30 days for each day of a period.
I mean, it's possible one shot for a specific day, using a date range dimension, but it's not possible for each day of a period.
I can't figure out how to create a calculated metric that will give for each day of a period (day as dimension in rows) the number of unique visitors during last 30 days...
Does anyone already succeed to calculate such metric on a rolling date period?