sql server - Filter report by date to show users registered this week through email in SSRS -
i have report startdate , stopdate parameters. configured smtp settings etc send report through email on specified time working fine. getting stopdate today() function dont know how keep startdate monday of week. need automatically send report through email containing number of users registered in week i.e. monday monday on monday, monday tuesday on tuesday , monday friday on friday. same patterns in next week. thanks.
please try expression below:
=iif(weekday(today())=1,dateadd("d",-6,today()),dateadd("d",2-weekday(today()),today()))
Comments
Post a Comment