Saturday, August 31, 2013

SSRS - How to create a report using Excel as a data source


1.     Background

The purpose of this article is to describe how to create a report using Excel as a data source for the report. We are going to use ODBC provider for excel to get the data for the reports.

2.     Step by Step procedure to create Excel as Data source for Report:

·         Open the Reporting services solution in BIDS/SQL Server Data Tools and
·         Go to Shared Data Sources folder then Right click and click on Add New Dataset

·         It will start Data Source Wizard, give the name of Data Source , give Type as ODBC and Click on Edit to create connection string for the Excel:
·         Once you click on Edit, It will open Connection property Window, select use connection string and click on Build.
·         Go to File Data Source and go to the location of the source excel file by using browse button in Look in:
·         Click ok. It will create the connection string for the excel
·         Click ok and your dataset for excel source has been created.
·         In the credential window, select the credential type as per your requirement. Here I have selected Windows Integrity security:
·         Now right click on Shared Dataset and click on New Dataset:
·         Give the name of Dataset and select Data source as ExcelDataSource that we have just created. Write the query for the excel:

Note : Check the sheet name in the excel before writing queries

3.     Steps to create report

·         Now create a report and map this newly created dataset “ExcelDataSet” to the report.
·         Add a tablix to the report layout and map the fields from the attached dataset.

·         Do formatting as per your requirement and run the report. Below is the resultant report:


4.     Conclusion
By using the above steps, we can create SSRS report using excel as data source

----------------------------------------------------End of Article---------------------------------------------------

11 comments:

  1. Either the drive can be conveyed to our office situated in Bangalore or it very well may be gotten and dropped to customer's and client's area (Currently accessible assistance in Lab recuperation in Bangalore area) or individual visit to our office area, other city or nation is upheld by means of dispatch office.recovery hdd data

    ReplyDelete
  2. If you have just a few people to verify, the online option is the better choice. If you need to verify a large quantity, you'll need to create a file and mail it in.this website

    ReplyDelete
  3. Excellent blog and clear explanation. Thanks for sharing with us. Keep maintain this great work in further blogs.
    AI Patasala Machine Learning Training Hyderabad

    ReplyDelete
  4. Once the recovery is finished, Files are checked for data Validity to guarantee Quality of recovery and arrangement of records recuperated. Melbourne Data recovery

    ReplyDelete
  5. When you contact a data recovery service, usually the first thing they will want to know is how the files you want to recover were lost. hard drive recovery melbourne

    ReplyDelete
  6. A brief tutorial of Microsoft Excel for someone that is either new to the program or has not used it in years. Many jobs today will require employees to have some basic knowledge of Microsoft Excel, so take some time to learn the program and put it on your resume with confidence. word translator

    ReplyDelete
  7. With so many books and articles coming up to give gateway to make-money-online field and confusing reader even more on the actual way of earning money, excel course in gurgaon

    ReplyDelete
  8. Really a nice blog written by you. now i can create report very easily with excel.

    Best PTE institute in Ambala

    ReplyDelete
  9. The Learn Excel Skills The Smart Method were books I read when I initially began to learn Excel I actually use them right up 'til the present time as reference books.college placement cells database

    ReplyDelete
  10. Fortnite is a popular video game that many people enjoy playing. The game was created by Epic Games and is based on the Unreal Engine 4. Fortnite is a cross-platform game that can be played on PC, Xbox One, PS4, and mobile devices. The game is free to play, but there are in-game items that can be purchased with real money. Free V Bucks Generator

    ReplyDelete