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
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.