Does anyone know how can i get this ?
I want to create rolling 3 month count of a measure .So basically if i want that 3 months to be referred as a single month.
Example : If i want to calculate 3 month MTU count for JULY ,then it should count the measure for MAY,JUNE & JULY. I want this for every month present in the table.
I have this dimension i am using to get month from
dimension_group: created {
type: time
description: “created at date”
timeframes: [
raw,
day_of_month,
time,
date,
week,
month,
quarter,
year
]
sql: ${TABLE}.created_at ;
measure: MTU {
type: count_distinct
description: “MTU”
sql: ${xyz.id} ;;