SSRS chart report with sliders to filter or change dataset - sql-server-2008

I have excel sheet with monthly sales/cost data. Every month I use excel to generate all sort of graphs and then publish them as a pdf. But I want others to be able to play around with the different data they have on the graphs. I want to publish reports on webpage which generate charts based on a table when it loads up.Then, I want the users to be able to use buttons or sliders to change the range of the dataset (mostly having dates or quaters or product type etc) and then the charts to update with the new results.
Also, can anyone help me find the equivalent of this doc for sql 2008? I am looking for charts like This
I did some reading and found that SSRS can create all the charts that Excel can do. But I don't know if it can do all the calculations as well?
I also read we can make pivot tables in sql but am not sure if they are the same as the ones in excel where we can use them to filter data and the graphs show the changes real time.
I also read about MS Chart Control using ASP.net but I don't know asp and I don't know how much would researching about it help me in my case.
I just want my visitors to be able to manipulate the dataset that is generating them graphs on their visit. Thats it. Dont' want to store their changes or anything.
What do you guys recommend?
btw I have sql 2008 in mind to do this.
Do you guys recommend me to use Access 2007

Do they need to view the report on a webpage or could it open in Excel (or the Excel IE browser plugin)? SoftArtisans OfficeWriter has the ability to design rich Excel reports for SSRS with a template-based approach. The output will be a true Excel file with live charts, formulas and pivot tables that can be manipulated by the user. The out-of-the-box Excel export functionality doesn't have real formulas and charts.
Disclaimer: I work for SoftArtisans

Excel Charts and ability to dynamically customize is a pretty advanced feature compared what is provided in SSRS... Matrix is the equivalent of pivot in SSRS. You can follow this MSDN article to get an idea of Tables, Matrices, and Lists (Report Builder and SSRS). This can be helpful in terms of Reproduce an Excel Pivot table in SSRS 2008
Here is a better tutorial if you could take a look..
The most important aspect would be:-
Set Datasource to Chart Control
Define Fields to be used by Chart Control
Using parameters would be the best catch on filtering datasets. So you will need to have a secondary dataset on top of the main dataset.
How to filter one dataset value with another dataset Table value in SSRS.
References:
Can SSRS use pivot tables such like excel drag and drop
http://social.msdn.microsoft.com/Forums/en/sqlreportingservices/thread/4b4664e2-415b-41d4-99e6-1421aa70e7ac

Related

Page Breaks in Microsoft SSRS

I am working with SSRS 2008 or 2014 and SQL Server 2014. One of the issues the team is having is around the formatting of the SSRS report. The goal is to have the report data format to render in an user friendly format. Unfortunately, a requirement is that the report uses two tables that can display 1:x number of records. As you can imagine, all data fields under the tables will now be pushed further down the page.
My question is, has anyone encountered this type of scenario and have an SSRS code-based solution to handle the formatting of the report?
It sounds like you need to display a 1 to many relationship in the report but want to keep the first table's results together. Maybe what you need is a drilldown/drillthrough report; this is available without a code-based solution.
This article explains the concept
https://learn.microsoft.com/en-us/sql/reporting-services/report-design/drilldown-action-report-builder-and-ssrs?view=sql-server-2014
There are many Youtube videos on how to set up drilldown reports, here is one example
https://www.youtube.com/watch?v=C56fMnp4oaA

SSRS 2016 Branding/Style Sheets

I am currently researching how the branding feature works for SSRS 2016. What I am wondering is if there is anyway to dynamically choose a branding/style sheet for a report based on a parameter passed into the report?
IE We have multiple uses for a single report, and would like to be able to visually distinguish them easily. Can there be a (for example) dropdown that would have the 'types' of report as options, and then that would determine which style sheet would be used when the report is generated?
I don't think we want to proceed with experimenting with these style sheets if this isn't possible for now, and I haven't been able to find much information about how these style/branding sheets are used other than they need to be uploaded to the SSRS server.
Thanks!
My current understanding is that when you upload a brand package to a 2016 Report Server it replaces the existing package. There certainly doesn't appear to be any way to select a specific brand package on the Site Settings. Happy to be proven wrong if anyone knows differently.

Can I use an excel template for all of my reports in SSRS?

Hi I have an excel template in .xslt format and we use the template for all of our reporting services. However, we have not used SSRS for reporting service. Is there a way we can use the excel template and load all our reporting data into the template instead of manually creating the report's header and footer, and the design every time we develop a report using SSRS?
I appreciate your support.
I don't believe you can use a .xslt file to create a template in SSRS but you could create a report template in SSRS which uses report parts to keep things consistent in certain areas of your reports e.g. headers/footers.
Unfortunately SSRS does not have great support for templates/style and the only other solutions I have seen is by pulling style values from a database and using expressions throughout your reports.

export ssrs report data into multiple excel files

I am calling reports through Data Driven Subscriptions. We are having very huge data (in millions). So the reports will be generating very large excel files.
We have provided download option to user for downloading created report excel files. But if file sizes are very huge, User is not able to dowload the files.
Does anyone have an idea how to split report data to multiple excel files. Does SSRS can handle it? After some size limit split data to next file. Like generate multiple files for same report call.
You can split the records into multiple shits by going to page break option in report properties.or you can go to tool tip and write custom expressipn there to how much data you want to see in one shit.
or you can use the help of SSIS to split the report into miltiple excel work book.
AFAIK there is no feature in SSRS that handles this.
You will have to roll your own solution: generate the report asynchronosly (or scheduled) server side, then create an application to distribute the files in seperate parts.

Dynamic charts at runtime in SSRS

I need to create a report(rdl) in SQL reporting services 2008. In that I need to create in runtime. The report has chart. I will specify the type of chart, font, alignment and all those stuff in runtime.
Is there any option for using this in SSRS 2008.
An rdlc is just an xml file so you can manipulate it at runtime, it's not a trivial undertaking though. You can find the rdl spec at http://download.microsoft.com/download/6/5/7/6575f1c8-4607-48d2-941d-c69622e11c32/RDL_spec_08.pdf.
There's a downloadable example of creating an rdlc for a table and a matrix dynamically, as well as lots of other useful report viewer info at http://www.gotreportviewer.com/.
You can generate the RDL however you want, it is just an XML file. But you will only be able to run the report locally. To run on the server you would need to deploy the report first, as the server does not run the RDL files directly.
I suppose this is still possible, but it would be pretty slow, and the report would not appear in the report manager or anything before hand.
However, your probably making this problem more complicated than it needs to be. I have work on projects where we generated the RDL and deployed daily with a custom application, and it is almost always not worth it. There is usually a better way.
You can set almost all the parameters of the chart using expressions. The only thing that can't be set is the chart type, but there are ways to get around that as well. Like having all the chart types you need created on the page, but making all except the one you want visible.
Yes...
to do so, you will need to either have an existing rdl file to modify, or you need to completely generate it from code.
All the SSRS xml is stored in the database in a table called catalog. You'll have to use the GUID of that report to access it, or insert a new row creating a new report.
once you're done swapping out your report server xml, the report server will have a "new" report that you can then call via your web page, or via SSRS url parameters.
past that clean up the catalog table if you see the need to.
I'll be honest with you though, this is very far from best practice, best practice that I'm aware of would be to embed the data you need to display in your web page in the form of a widget.