How to Set Up an Excel Data Source for an SSRS Report
Question details
The user needs to configure an Excel workbook as a data source for SQL Server Reporting Services (SSRS) to consolidate report access in a centralized portal.

- Product
- Microsoft Excel / SSRS
- Device & OS
- not provided
- Scenario
- Creating and deploying an SSRS report utilizing structured data from a Microsoft Excel file.
- Observed behavior
- The user requires step-by-step guidance on establishing a connection between SSRS and an Excel workbook using a shared data source.
Ensure your Excel workbook has a consistent tabular structure with distinct column headers, and verify that the SSRS service account has appropriate read permissions for the file's storage location.
Configure the Excel Data Source via SQL Server Data Tools
Create a shared data source in SQL Server Data Tools (SSDT) to pull data directly from your Excel workbook into your SSRS report.
Using SQL Server Data Tools or SQL Server Management Studio allows you to define a shared connection that multiple reports can use. Before proceeding, make sure the Excel file is closed, as locked files can prevent SSRS from reading the data properly.
Launch SQL Server Data Tools (SSDT) or SQL Server Management Studio and either create a new Report Server Project or open an existing one.
In the Solution Explorer pane, right-click on 'Shared Data Sources' and select 'Add New Data Source'. In the configuration window, choose 'Microsoft Excel' from the data-source type dropdown menu.
Enter the connection string pointing to the exact local or network path of your Excel workbook. Click 'Test Connection' to ensure the report server can reach the file.
Add a new report to your project. Inside the report, right-click 'Datasets', add a new dataset tied to your Excel data source, and write the query or specify the data-retrieval method to select the specific sheet or range.
Drag the dataset fields onto your report canvas to design the layout. Click the 'Preview' tab to verify the data is loading correctly, then deploy the report to your SSRS web portal for user access.

Format Your SSRS Data Sources with WPS Office
Preparing clean, structured spreadsheet data is crucial for SSRS reporting. WPS Office offers a free, highly compatible alternative to Microsoft Office, ensuring your data is perfectly formatted and saved in the standard .xlsx format required by SQL Server Reporting Services.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your computer to start managing your data.
- 2. Prepare the Data: Open your raw data in WPS Spreadsheet, remove any empty rows, and ensure the first row contains clear, descriptive headers for SSRS.
- 3. Save as Standard XLSX: Click 'Save As' and choose the standard '.xlsx' format to ensure flawless compatibility with your SSRS Microsoft Excel provider.

Frequently Asked Questions
Can I use a network drive for my Excel SSRS data source?
Yes, but you must ensure that the path used in the connection string is a valid UNC path (e.g., \\NetworkShare\Folder\File.xlsx) and that the SQL Server Reporting Services execution account has the necessary read permissions to access that location.
Why is my SSRS report not reading the Excel headers correctly?
This happens if your data doesn't start on the first row or lacks distinct headers. Ensure your Excel data is formatted as a structured table with non-blank header rows before connecting it. Additionally, verify that the connection string's extended properties include 'HDR=YES'.
Will SSRS refresh data automatically if the Excel file is updated?
SSRS reads the data dynamically when the report is executed. However, if the Excel file is actively open or locked for editing by another user, SSRS might fail to query the file due to sharing violations.
Do I need to install Microsoft Excel on the report server?
No, you do not need Microsoft Excel installed on the SSRS server. You only need to ensure that the appropriate Microsoft Access Database Engine OLE DB provider is installed on the server to read .xlsx files.




