We currently are running a large report off of the operational DB but in turn used this report to create a DWH in order to get this report to run faster. Before we used a stored procedure with many smaller queries that summed our numbers. Since we have the DWH that stores all this needed data in one or two fact tables (the operational DB is highly normalized) is it better in terms of performance to create one sql statement that pulls these flags on each row (i.e. Gender - F, M, NULL) and then do a sum on the report side by using group by's or is it a better idea to sum all the numbers in the SQL statement and just throw these summed amounts into individual text boxes?
This is the first Data Warehouse I have ever created or even seen and I am just trying to figure out the capability of this with the use of SSRS. If you need any more specifics or have further questions I can give further detail. Thanks so much!
Discuss This Question: