Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft Reporting Services and CSV files

I manage a data warehouse type application and one of the databases it connects to is about to be managed by an external organisation. The external organisation is setting up Microsoft Reporting Services to allow us to generate reports for our users to be able to view the data.

The database is hosted on an external server. I have setup a test form in Microsoft Reporting Services in a test environment.

I don't have any other experience with this technology. My question is: does this technology enable you to generate CSV files or does the information have to be viewed in a web browser? I can't see how this can be done without web services.

like image 547
w0051977 Avatar asked Sep 26 '12 21:09

w0051977


People also ask

What is CSV in Microsoft?

A CSV (Comma Separated Values) file is a special type of file that you can create or edit in Excel. Rather than storing information in columns, CSV files store information separated by commas. When text and numbers are saved in a CSV file, it's easy to move them from one program to another.

Is it possible to export a report to Microsoft Excel in CSV format?

Go to File > Save As. Click Browse. In the Save As dialog box, under Save as type box, choose the text file format for the worksheet; for example, click Text (Tab delimited) or CSV (Comma delimited).

In which format can we export SSRS reports?

Microsoft Word, Microsoft Excel, Microsoft PowerPoint, Tiff file, MHTML (Web Archive), CSV (comma delimited) and XML file with report data are the popular formats that can be exported from SSRS as shown in the below screenshot.

What is CSV reporting?

The Comma Separated Values (CSV) line-level reporting format may be used by jurisdictions to submit COVID-19 case data.


2 Answers

Yes SSRS (Reporting services) has a build in capability to export reports to these types of files

  • XML
  • Word
  • CSV
  • MHTNK
  • Excel
  • PDF
  • Tiff

enter image description here

I am also managing a data warehouse which accessible for customers. We also providing the reporting services hosting service

But to your question if you have reporting services installed, you can connect to any database you wish (of course if you have permissions)

To create a report you will need:

  1. A data source - tells the report that it's going to connect to some server and some DB
  2. Dataset- holds information most of the times which comes from a query against a database
  3. Design the report

So when you create a data source you can provide ant server name / IP and any database name. (of course you will have to have permissions)

This is a picture which shows you how to create a data source enter image description here

like image 72
Silagy Avatar answered Sep 22 '22 21:09

Silagy


You seem to be asking two related but different things:

Q1: Can you generate in format X (in your question: X = CSV).
A: Yes, you can export to CSV, XML, XLS, PDF, Word, Html, and Tiff (MSDN). Note that the report has to be tailored towards your preferred export method, e.g. if you want to get CSV it's best to stick to just a simple report with merely a table, or with XML it's rather important to name all controls as they turn into element names.


Q2: How do you view/get a report? Does it have to be viewed in a browser?
A: There are several ways to deliver reports to end users and other systems, including:

  • Subscriptions, delivered through e-mail or FTP
  • Through the ReportViewer (either in a web app or in a native app)
  • A specific case of the "web app", being via a Sharepoint setup
  • Via the web service provided with SSRS
  • Directly, using (pre)views in the Report Manager
like image 42
Jeroen Avatar answered Sep 21 '22 21:09

Jeroen