SSRS Matrix Month function error

  • Hi,

    Can someone please suggest, how this can be done?

    I have a data region and date and Quantity. I want to display column(Region) and rows(Months) values as Quantity.

    But when i am trying this format, the same month reflecting twice I have attached the image below, I tried all date formats..

     

     

    Attachments:
    You must be logged in to view attached files.
  • sudhakar wrote:

    Hi,

    Can someone please suggest, how this can be done?

    I have a data region and date and Quantity. I want to display column(Region) and rows(Months) values as Quantity.

    But when i am trying this format, the same month reflecting twice I have attached the image below, I tried all date formats..

    Dunno about SSRS but I've seen similar happen in SQL Sever.  The "matrix" needs to do aggregates (SUMs, in this case).  I'm thinking that you've somehow not doe that.

     

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.
    "Change is inevitable... change for the better is not".

    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)
    Intro to Tally Tables and Functions

  • The pictures don't help a whole lot. Sounds like all you need is a matrix visual, and regions on one axis, months on the other, and SUM([Quantity]) at the intersection.

  • I have seen this where month name is the column heading but the grouping is date or year/month. Matrix column grouping should be month number only and the heading month name.

    Or the column grouping has multiple levels.

    Far away is close at hand in the images of elsewhere.
    Anon.

  • Dear All,

    Thank you for your input, Now its working fine, i have added the SQL level monthname function,

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply