Solved

PLS HELP--display ssrs report with jan to dec month tables

Posted on 2011-02-22
4
636 Views
Last Modified: 2012-05-11
The SSRS report  i need should have the header like JAN, to DEC.
The column is  the total of a given item in that particular month
say if  rows are

ITM  --   DATE   ----------QTY
PH001-- 01/jan/2010 --   5
PH001-- 07/jan/2010 --   10
PH001-- 01/feb/2010 --   5
PH009--21/jan/2010 ---50
PH009--21/mar/2010 ---50
PH009--21/feb/2010 ---50

Output shud be like
ITM   ----   JAN --FEB --MAR --APR-- MAY--........--DEC
PH001 --   15 ------5
PH009 ---  50-----50---50

PLS HELP
0
Comment
Question by:AnnaJames77
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 11

Expert Comment

by:rajvja
ID: 34950746
Hi

You can do using Matrix tool on the report
0
 
LVL 11

Expert Comment

by:rajvja
ID: 34950752
And also this link for your reference.

http://msdn.microsoft.com/en-us/library/ms157334.aspx
0
 

Author Comment

by:AnnaJames77
ID: 34950756
i tried with matrix..it works..but i need the month name always to appear even if no items are there in that month
0
 
LVL 11

Accepted Solution

by:
rajvja earned 500 total points
ID: 34950794
Hi,

  I had a blind solution.
Create a table with all month names. Do a join this table with your query and bind that final query to your report.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question