I am attempting to create a Turnover Rate beast mode that would take the Average Distinct Count of employee IDs, then divide it by the number of days in the user selected date range.
I've tried the following syntax, but I receive an error:
Raw syntax:
AVG(COUNT(DISTINCT CASE WHEN Team Member status
= 'Active' OR Team Member status
= 'Unpaid Leave' THEN Team Member ID
END))
/
COUNT(DISTINCT Date Scaffold
)
Does anyone have experience with Turnover in Domo? Am I missing something obvious in my syntax?