July 16, 2010 at 3:23 pm
I have been requested to create a report with 52 Weeks of the year as columns .
For Ex :
Week1 Week2 till ... Week 52
Name|Place|Sun Mon Tue Wed Thu Fri Sat | Sun Mon Tue Wed Thu Fri Sat|Sun Mon Tue Wed Thu Fri Sat |
I just want some Ideas on what is the best way to approach such kind of report .
Is Reporting Services Table or Matrix report feasible .
Any Ideas in this direction is appreaciated.
Thanks,
Venkat
July 16, 2010 at 3:31 pm
Pre-aggregation is essential to such reports. Please see the following articles...
http://www.sqlservercentral.com/articles/T-SQL/63681/
http://www.sqlservercentral.com/articles/Crosstab/65048/
Yes, you can use a Matrix to do similar... if there's not too much data to clog the pipe with.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 28, 2011 at 5:08 pm
If the report is for CRM (Microsoft Dynamics ERP Solutions), use a calendar table, you can then allow the users to select a week (1-53 for example), make week start with Sunday and end with Saturday.
Parameters:
...,...,Year, Week, Startdate, Enddate.
OR
Parameters:
...,...,Year, Week.
If not for CRM, then you can use Jeff's links (Cross Tabs and Pivots).
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply