Kmullervy
10/13/2020, 3:27 PMSandii
10/13/2020, 3:29 PMCreated By (grouped) and the TO_DATE() function to extract the year (grouped) from the Created Date. And use count of internalid. Filter your results to Mainline = T as well.Kmullervy
10/13/2020, 3:33 PMTO_DATE() function?Sandii
10/13/2020, 3:34 PMSandii
10/13/2020, 3:35 PM'YYYY'Kmullervy
10/13/2020, 3:38 PMSandii
10/13/2020, 3:38 PMCASE WHEN should work for that, e.g.:
CASE WHEN TO_CHAR({datecreated}, 'YYYY') = '2019' THEN 1 ELSE 0 ENDSandii
10/13/2020, 3:39 PMKmullervy
10/13/2020, 3:46 PM