Hey,
I am trying to calculate a stickiness metric, which is Daily Active Users/Weekly Active Users (DAU/WAU).
I tried to do it in 2 ways, but both of them do not work.
1- Using distinctCountOver
Column ‘Week from Day’ Means:
This is the error I got:
“Mismatched aggregation. Custom aggregations can’t contain both aggregate “distinctCountOver
” and non-aggregated fields “DISTINCTCOUNTOVER(“USERID”, “Week from day”, PRE_AGG)”, in any combination.”
2- Using Distinct count with group by:
This is the error I get:
“The calculation operated on Level Aware Calculation (LAC) agg expressions is not valid”.
Please help me to solve those issues or suggest me a different method to calculate stickiness.