Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7933469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T21:20:38+00:00 2026-06-03T21:20:38+00:00

I have SQL Server 2005 Reporting Services. I need to create a report with

  • 0

I have SQL Server 2005 Reporting Services. I need to create a report with number of columns that is defined during runtime.

I have a DB table with content like the following:

Person           Date             Val
----------------------------------------------
Person1          2012-01-03       3
Person2          2012-02-11       5
Person1          2012-02-17       7
Person2          2012-01-19       2
Person2          2012-01-15       4

I have to create a Report like this:

Person           Jan 2012         Feb 2012
----------------------------------------------
Person1          3                7
Person2          6                5

In other words, for every Person I have to make sum of all his Value fields for a given month, and put the sum into column corresponding to the month. In the example above I have 6 for Person2 during month Jan 2012 – this is sum of the values 2 (on 2012-01-19) and 4 (on 2012-01-15).

Thus, in design time I do not know the date range covered by that my table. I should detect it, to build array of months covered by the date range (the Jan 2012 and Feb 2012 in the sampel above) and add a column for each of the months.

How should I implement this using SSRS?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T21:20:40+00:00Added an answer on June 3, 2026 at 9:20 pm

    If you’re stuck with Tablix, here’s a similar situation that I have solved, How do i represent an unknown number of columns in SSRS?.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some reports in SQL Server Reporting Services 2005 that I need to
I have a report in SQL Server Reporting Services 2005. It makes use of
I have a number of reports deployed to a SQL Server 2005 Reporting Services
OK, I have a report in Reporting Services 2005 backed by SQL Server 2005.
We're using SQL Server 2005 with Reporting Services. We have a number of reports,
I have a report in SQL 2005 reporting services. It is a server side
I have a SQL Server 2005 database that has been deleted, and I need
I have a SQL Server 2005 Reporting Services solution containing several reporting projects. (I
I have SQL Reporting Services 2005 running on a Win 2008 server with IIS7.
I'm using SQL Server 2005 with Reporting Services. I have many reports installed, some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.