SSRS: Subreport is showing the correct data, so why isn't the matrix in the main report?

Hello:

I created a report in SQL Reporting Services (SSRS).  Attached is the main report and one of its subreports.

The subreport is working perfectly.  When I drill-down into it, it is showing all of the necessary monthly projected purchase order data for the next few months.

But, as you can tell from my Word attachment, data for "Month 5" and "Month 7" is not showing in the first screenshot which represents the main report.  "Month 5" and "Month 7" are, however, showing in the subreport.

Why in the world is the main report not doing the correct display of months in its matrix?

Thanks!

Much appreciated!

TBSupport
POOR.rdl
POOR-Subreport.rdl
LVL 1
TBSupportAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ValentinoVBI ConsultantCommented:
I don't see anything wrong with the matrix.  Are you 100% that the query in your main report returns data for those months?  Execute it in Management Studio to be sure.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TBSupportAuthor Commented:
That was it!  I needed to strip out the following:

and DATEPART(yy, POP10110.REQDATE) = DATEPART(yy, getdate()))

This clause was what was inhibiting future months from showing!

Thank you!!!

TBSupport
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.