Quantcast
Channel: SQL Server Reporting Services, Power View 포럼
Viewing all articles
Browse latest Browse all 24955

SSRS function to get startdate and enddate when year and week numbers are passed

$
0
0

Hi, I am using SSRS 2008 R2 and passing Year, StartWeek, EndWeek as parameters and the report has 2 other parameters StartDate(Week) & EndDate(Week). Would like to default these parameter values accordingly. Report follows Monday through Sunday Week.

For instance:

@Year = 2012, @StartWeek = 51, @EndWeek = 52

Default values for @StartDate(Week) = '12/10/2012', @EndDate(Week) = '12/23/2012'.

Please help me achieve this functionality.

Thanks in advance............


Viewing all articles
Browse latest Browse all 24955

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>