Items per month report in SSRS (Reporting Services)

Posted on 2009-02-13
Last Modified: 2012-05-06
I have a database with trouble tickets, each one having a date and an amount of billable time spent on the ticket.  I am trying to create a report in ssrs that will show how how many tickets / billable time there are per month.  I am stumped on how to accomplish this seemingly trivial task.  What should my data query look like and does the report do the math or the query?

Question by:jdroger2
    1 Comment
    LVL 8

    Accepted Solution

    I would try and do as much of the math(s) in the query as possible.  The query could look something like this :

    select datepart(m, iddatetime) AS [Month], count(*) AS TicketCount, sum(BilledAmount) AS TotalBilled from TicketBillable
    group by datepart(m, iddatetime)

    Open in new window


    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
    Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
    Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
    Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now