Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
aswindba1
Yak Posting Veteran
62 Posts |
Posted - 2013-11-13 : 11:58:19
|
I have 4 different tables and from these tables i need to create SSRS report with 10 columns. Each column has different type of calculations and every column is independent.I need to club all 10 columns and make one ssrs report with graphs. Can we create a view and update based on the requirment or we have to create sql queryand update all the colunns accordingly. This report shoukd be generated daily, so the data has to be refreshed daily.Could you please tell the bestway to achieve this requirement in SSRS.ThanksAswin |
|
James K
Master Smack Fu Yak Hacker
3873 Posts |
Posted - 2013-11-13 : 17:41:21
|
quote: Originally posted by aswindba1 I have 4 different tables and from these tables i need to create SSRS report with 10 columns. Each column has different type of calculations and every column is independent.I need to club all 10 columns and make one ssrs report with graphs. Can we create a view and update based on the requirment or we have to create sql queryand update all the colunns accordingly. This report shoukd be generated daily, so the data has to be refreshed daily.Could you please tell the bestway to achieve this requirement in SSRS.ThanksAswin
The requirements that you listed are quite vague, so it is hard to give a concrete answer. However, in general:a) You can join four tables (or more) assuming there are some columns that you can join on. If you don't have columns you can join on, you can try a cross join, but more likely than not, that is not what you want. Besides, that can generate gazillion rows in the output.b) When you say "club all 10 columns", what does that mean? Given a row in table 1, how do you want to associate that row with row sfrom other tables?c) You can create a view, or write a query (or create a stored procedure with a query). More often than not, it is a matter of preference, but there may be cases where one option might be better than the other. Hard to say without more details. |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-11-14 : 02:55:34
|
Each column has different type of calculations and every column is independent.then whats the point in showing them all in same graph?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs |
|
|
|
|
|
|
|