Quantcast
Viewing all articles
Browse latest Browse all 1917

How to read Data from Excel File in SSRS Report - SQL Server Reporting Services(SSRS)

Scenario:

Let's say we get excel file on daily basis and we would like to use Excel file data in our SSRS Report, How can we use that Excel file in SSRS Report?

Solution: 

Here are the steps to read data from Excel file and use in SSRS Report.

Step 1: 
Create the DSN entry for Excel sheet.
Go to Control Panel and then Administrative Tools

Step 2:
Create the DSN entry as shown below.
Provide the Data Source Name and Browse to  Excel file.


Step 3:
Create the report in SQL Server Data Tools, Create Data Source as shown below


Step 4:
Create the DataSet by using below query.

Select * From [Sheet1$]

From here you can create Report as you like as fields will be available in data-set.






Viewing all articles
Browse latest Browse all 1917

Trending Articles