question

WcMyburgh avatar image
WcMyburgh asked

What is the best way to approach report building form a single table?

Hi Well this in my situation: There is a single denormalized table, with one descriptive column, followed by 30 columns containing setting ( -1, 0, 1 ,2). My problem is that I only have this table as a data source and need to do a pie chart on the percentages of the values ( -1, 0, 1 ,2) occurring per row.Sorry for the confusing description but I am just as confused. The table that holds all the information looks something like this: ![alt text][1] Now I think I need a table or view in this format ![alt text][2] to be able to start working with the data [1]: /storage/temp/326-table1.png [2]: /storage/temp/327-table+2.png Any opinion on what would be the best way to get a fully dynamic report build on this table with report builder 3.0 would be a great help.
ssasreport-builder
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

WcMyburgh avatar image WcMyburgh commented ·
Tanks Jonathan, Ill have a look into your suggestion. The thing is this is going to be my first exposure to reporting services and I am not really sure where to start with this.
0 Likes 0 ·
Fatherjack avatar image Fatherjack ♦♦ commented ·
If you are completely new to SSRS then there are lots of resources around that can give you great advice - check out SQL Server Central's Stairways series - http://www.sqlservercentral.com/stairway/72382/ as a starting point and feel free to come back here if you get stuck!!
0 Likes 0 ·

1 Answer

·
Fatherjack avatar image
Fatherjack answered
unless there is a subtlety in the question that I have missed (or in the images that are currently not showing) then I'd simply create a stored procedure to get the data from the table, set that as your datasource in the report and use the charting objects to calculate the percentage etc
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.