Sunday, August 3, 2014

Using COUNT and DATEADD Functions


=Count(IIF(Fields!LastOnline.Value > DateAdd ("d",-7,Today()),Fields!LastOnline.Value,Nothing))

Or

Sum(IIF(Fields!LastOnline.Value > DateAdd ("d",-7,Today()),1,0))





Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://ift.tt/19nLNVq http://ift.tt/1iEAj0c


No comments:

Post a Comment