Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 Only 5 columns being displayed in Matrix

Author  Topic 

SKP
Starting Member

34 Posts

Posted - 2008-05-27 : 06:02:49
Hi Guys,

I am creating a report in Reporting Services 2000. I have a stored procedure that returns 4 columns with one column having 21 weeks of entries in it. I am using matrix to group these 21 weeks as 21 week columns created dynamically but when I preview the report it is only displaying columns for first 5 weeks.

Any idea why Reporting services is not displaying the rest of the columns? Any limitation on maxiumum number of columns that can be generated dynamically in SSRS 2000?

Any help will be highly appreciated.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-05-27 : 06:09:27
Do you have data for the rest of weeks? The matrix creates a column based on data and so if there's no data for a week you wont get the column corresponding to week.
Go to Top of Page

SKP
Starting Member

34 Posts

Posted - 2008-05-27 : 06:20:15
Hi Visakh,

I have the data for all the weeks.
Here is the table for you:

Classname Availability Total WeekNo
Active Resources Assigned 640 1
Active Resources NotAssigned 116 1
Active Resources Assigned 780 2
Active Resources NotAssigned 155 2
Active Resources Assigned 801 3
Active Resources NotAssigned 144 3
Active Resources Assigned 814 4
Active Resources NotAssigned 138 4
Active Resources Assigned 791 5
Active Resources NotAssigned 149 5
Active Resources Assigned 837 6
Active Resources NotAssigned 126 6
Active Resources Assigned 875 7
Active Resources NotAssigned 106 7
Active Resources Assigned 850 8
Active Resources NotAssigned 119 8
Active Resources Assigned 842 9
Active Resources NotAssigned 122 9
Active Resources Assigned 845 10
Active Resources NotAssigned 122 10
Active Resources Assigned 877 11
Active Resources NotAssigned 106 11
Active Resources Assigned 911 12
Active Resources NotAssigned 89 12
Active Resources Assigned 875 13
Active Resources NotAssigned 107 13
Active Resources Assigned 857 14
Active Resources NotAssigned 114 14
Active Resources Assigned 807 15
Active Resources NotAssigned 138 15
Active Resources Assigned 790 16
Active Resources NotAssigned 146 16
Active Resources Assigned 774 17
Active Resources NotAssigned 154 17
Active Resources Assigned 781 18
Active Resources NotAssigned 153 18
Active Resources Assigned 791 19
Active Resources NotAssigned 148 19
Active Resources Assigned 850 20
Active Resources NotAssigned 119 20
Active Resources Assigned 189 21
Active Resources NotAssigned 14 21
Associate NotAssigned 52 1
Associate NotAssigned 65 2
Associate NotAssigned 65 3
Associate NotAssigned 65 4
Associate NotAssigned 65 5
Associate NotAssigned 65 6
Associate NotAssigned 65 7
Associate NotAssigned 65 8
Associate NotAssigned 65 9
Associate NotAssigned 65 10
Associate NotAssigned 65 11
Associate NotAssigned 65 12
Associate NotAssigned 65 13
Associate NotAssigned 65 14
Associate NotAssigned 65 15
Associate NotAssigned 65 16
Associate NotAssigned 65 17
Associate NotAssigned 65 18
Associate NotAssigned 65 19
Associate NotAssigned 65 20
Associate NotAssigned 13 21
AX Consultants Assigned 16 1
AX Consultants Assigned 20 2
AX Consultants Assigned 20 3
AX Consultants Assigned 20 4
AX Consultants Assigned 20 5
AX Consultants Assigned 20 6
AX Consultants Assigned 20 7
AX Consultants Assigned 20 8
AX Consultants Assigned 20 9
AX Consultants Assigned 20 10
AX Consultants Assigned 20 11
AX Consultants Assigned 20 12
AX Consultants Assigned 20 13
AX Consultants Assigned 10 14
AX Consultants NotAssigned 5 14
AX Consultants Assigned 10 15
AX Consultants NotAssigned 5 15
AX Consultants Assigned 10 16
AX Consultants NotAssigned 5 16
AX Consultants Assigned 10 17
AX Consultants NotAssigned 5 17
AX Consultants Assigned 20 18
AX Consultants Assigned 16 19
AX Consultants NotAssigned 2 19
AX Consultants Assigned 16 20
AX Consultants NotAssigned 2 20
AX Consultants Assigned 4 21
Consultant Assigned 16 1
Consultant Assigned 16 2
Consultant NotAssigned 2 2
Consultant Assigned 20 3
Consultant Assigned 20 4
Consultant Assigned 18 5
Consultant NotAssigned 1 5
Consultant Assigned 18 6
Consultant NotAssigned 1 6
Consultant Assigned 18 7
Consultant NotAssigned 1 7
Consultant Assigned 18 8
Consultant NotAssigned 1 8
Consultant Assigned 18 9
Consultant NotAssigned 1 9
Consultant Assigned 18 10
Consultant NotAssigned 1 10
Consultant Assigned 20 11
Consultant Assigned 20 12
Consultant Assigned 20 13
Consultant Assigned 20 14
Consultant Assigned 10 15
Consultant NotAssigned 5 15
Consultant Assigned 2 16
Consultant NotAssigned 9 16
Consultant Assigned 2 17
Consultant NotAssigned 9 17
Consultant Assigned 8 18
Consultant NotAssigned 6 18
Consultant Assigned 20 19
Consultant Assigned 10 20
Consultant NotAssigned 5 20
Consultant Assigned 2 21
Consultant NotAssigned 1 21
Go to Top of Page

SKP
Starting Member

34 Posts

Posted - 2008-05-27 : 06:36:25
Visakh,

I have found the cause of problem.

Even if i set the dates for start and end of the period to make 21 weeks, when i click preview report it changes it to 5 weeks only, so I have to reset the end date in the preview report to desired end date and i am getting all the weeks appearing now.

Thanks for you time again.
Go to Top of Page
   

- Advertisement -