Question
Floating 90 day date range for a KPI card
In a KPI card, I would like to display only the activities that occurred for that KPI for the last 90 days. I know the below is incorrect but logically it is as close as I can get without help.
FILTER _CEL_P2P_ACTIVITIES.EVENTTIME BETWEEN TODAY() AND (TODAY() - 90)
The KPI card works so I am looking for the code to tack onto to get the 90 day window.
Please advise! Thanks.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
SUM(
CASE WHEN CEL_P2P_ACTIVITIES"."ACTIVITY<%= language %> IN (<%= activities_used_in_automation_rate %>)
AND ("_CEL_P2P_ACTIVITIES".USER_TYPE IN (<%=auto_user_type%>) OR ISNULL("_CEL_P2P_ACTIVITIES".USER_TYPE) = 1)
THEN
1.0
ELSE
0.0
END
)