Professional Documents
Culture Documents
|
|
¢ Introduction
¢ Reporting Field
¢ Architecture
¢ Components
¢ Configure Report Service
¢ How to create basic report?
¢ Deployment
Introduction Of Report Services
Report bridge the gap between nontechnical decision makers
and the database which we make it understandable, robust,
complete, consistent and stable.
Role of Report Developer :-
¢ Speed and availability
¢ Accuracy and timeliness
¢ The Right amount of detail-not too much, not too little.
¢ Consistent, organized, and easily interpreted formatting and
presentation.
Anatomy of a Report
A Reporting services report consists of data sources, data set,
parameters, and the report layout or design.
Data Sources
A data source contains the connection information for a
database or data file and includes the data source type,
connection string, and credentials.
Data Source Types
¢ Microsoft SQL Server
¢ XML
¢ Oracle
¢ OLE DB
¢ ODBC
Common Data Source Connection Strings
The below connection string shows connection between report
and database. In data source is equal to server name and actual
database name is DzMSBIdz.
Data Source=BISP;Initial Catalog=MSBI
Further processes
¢ Create Data Set
¢ Build Query
¢ Design the report layout
¢ Add and Configure report parameters
¢ Preview the report
Reporting Fields
Report Server
Database Data
Source
Reporting Services Three Tier Architecture
á
Starting Services
When you want to create report so the first step is to check
that all SQL Server services are running or not. When services
are in start mode then only you can use there utility.
StartÎ RunÎ services.msc
You can start all required services, just right click start.
You can also change status of Services as shown in the box.
Configuration of Report Service
You can deploy your report on web if you configured report
service manager correctly.
Once installation complete successfully you have to check that
all components install completely.
All component have install as shown in the below image.
Go to All ProgramsÎ Microsoft SQL Server 2008Î Configuration
Tools Î Reporting Services Configuration Manager
Connect to Report Server
To connect with report server instance first select DzServerdz and
Dzreport server instancedz.
Image 1Î Click to connect . . .
Image 2Î Shows running status.
X
Service Account
There is three built-in-account Local System, Network Service
and Local Services. If you are using windows authentication
account then it is better to use Local System account. There is
one more setting to create backup file.
Service Account
Below image shows that account is creating in windows
authentication mode. It will take administrator privileges for
login.
Service Account
Result shows that reporting services account has created with
administrator privilege.
Web Server URL
In this step you can create web server URL for access report on
web. Give name to virtual directory. It is recommended that
assign all IP address to report server. If you assign only one then
there will be restriction to use that only. The complete report
service URL is in the Box.
Report Server Database
Below image shows report server database which is currently
using by server.
Report Manager URL
This the actual URL where your report manager exist. Remember
that virtual directory name should not be same as virtual
directory name in web services.
SolutionÎ Requirement
1. Install Microsoft Business Intelligence
2. Relational database
Connection With Database
StartÎ All Program Î Microsoft SQL Server 2008 Î SQL Server
Management Studio
Select your server and connect with database.
Below image shows that server is connected with database.
Start Report Project
All Program Î Microsoft SQL Server 2008Î Business Intelligence
Development Studio
Open Project
File Î New Î Project
Click Next
Build Query
Now you need to build query for fetching data from database.
Image 1Î Query Builder help you to build query.
Image 2Î Right click on query area popup window will come. You can
bring required tables in to data model.
X
Data Model
This is a user interface environment where you can build data model.
You can select field which you want to fetch. You can add filters, group
by, sorting and where clause. You need not to write hole query.
Query
Query Builder brings build query to fetch require data. You also can
write query in query string panel.
Go to Next.
Report Design
You can customize the report type. This report type is matrix. You Can
add fields in to required area as this example shows that Dzyeardz will
come in the Top of report page. Columns have Dzquarterdz, Rows have
Dzcountrydz, DzProduct_linedz, DzStore_typedz and detail area has
Dzamount_salesdz
Report Design
You can select style and color of report. You should give report name
which is relevant to query. This is the last step to create report.
Report Preview
This is the preview of build report which is in visual studio
environment only. You need to deploy in to view it from web.
Report Deployment
To deployment of report you need to go in solution explorer and right
click on project. Then select Dzdeploydz option. You will have
deployment setting in that you need to specify your server name
where you want to deploy your report.
Web Environment
Below image shows the web environment from where you can access
your report. You can see DzSamplesdz project has come in home page of
your site.
Image 1Î Click on DzSamplesdz.
Image 2Î Only one report in the project Click on report.
X
Web View of Report
Below is deployed view of report. You have option to export in to
different format.
This is the final solution of business query. This shows the product
those sales is more then Rs.100000.