Here\'s my query:
select cast(ar.AudienceCreationDate as date) as AudienceDate, Count(*) as [Count], count(case when ar.Source = \'Contact\' then