Create Reports Utilizing SQL Server Reporting Services and PI OLEDB. Tutorial



Similar documents
Creating Reports with Microsoft Dynamics AX SQL Reporting Services

SQL Server 2005 Reporting Services (SSRS)

Using SQL Reporting Services with Amicus

Reporting Services. White Paper. Published: August 2007 Updated: July 2008

Deltek Vision 7.0 LA. Technical Readiness Guide

SQL Reporting Services: A Peek at the Power & Potential

Microsoft Services Exceed your business with Microsoft SharePoint Server 2010

Deltek Vision 7.1. Technical Installation Guide

Synchronization with Microsoft Team Foundation Server 2010

Whitepaper. HR Dashboard STRATEGIC VALUE CREATION USING MICROSOFT REPORTING SERVICES YOUR SUCCESS IS OUR FOCUS

Creating a Patch Management Dashboard with IT Analytics Hands-On Lab

Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix ABSTRACT INTRODUCTION Data Access

João Diogo Almeida Premier Field Engineer Microsoft Corporation

HOW TO CONFIGURE SQL SERVER REPORTING SERVICES IN ORDER TO DEPLOY REPORTING SERVICES REPORTS FOR DYNAMICS GP

Working with SQL Server Integration Services

Microsoft SQL Server 2005 Reporting Services Step by Step

Infor Enterprise Server Plug-in for Microsoft SQL Server Reporting Services Development Guide

How To Create A Report In Excel

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

SharePoint Integration Framework Developers Cookbook

Xtreeme Search Engine Studio Help Xtreeme

SSRS Reporting Using Report Builder 3.0. By Laura Rogers Senior SharePoint Consultant Rackspace Hosting

SQL Server 2012 Tutorials: Reporting Services

Deploying Migrated IBM Notes Applications to the Cloud

SQL Server 2005: Report Builder

SAS BI Dashboard 4.3. User's Guide. SAS Documentation

SQL Server 2014 BI. Lab 04. Enhancing an E-Commerce Web Application with Analysis Services Data Mining in SQL Server Jump to the Lab Overview

Guide to Setting up Docs2Manage using Cloud Services

SonicWALL SSL VPN 3.0 HTTP(S) Reverse Proxy Support

Microsoft Business Intelligence 2012 Single Server Install Guide

Crystal Converter User Guide

Sisense. Product Highlights.

Connectivity Pack for Microsoft Guide

Using SQL Reporting Services with Amicus

BID2WIN Workshop. Advanced Report Writing

Using Microsoft Business Intelligence Dashboards and Reports in the Federal Government

4cast Server Specification and Installation

SonicWALL SSL VPN 3.5 HTTP(S) Reverse Proxy Support

Arctic Network SQL Server Data Analysis Using Microsoft Access

HDAccess Administrators User Manual. Help Desk Authority 9.0

How to access your CD files

SQL SERVER BUSINESS INTELLIGENCE (BI) - INTRODUCTION

BusinessObjects Enterprise InfoView User's Guide

Using the New InfoAssist Tool for Ad Hoc Query and Reporting. John Osborn Information Builders

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint InfoPath 2013 Web Enabled (Browser) forms

1. CONFIGURING REMOTE ACCESS TO SQL SERVER EXPRESS

Quick Instructions Installing on a VPS (Virtual Private Server)

NAIP Consortium Strengthening Statistical Computing for NARS SAS Enterprise Business Intelligence

Microsoft Visio 2010 Business Intelligence

Visual Studio.NET Database Projects

GFI LANguard 9.0 ReportPack. Manual. By GFI Software Ltd.

Using CONNECT to Outlook. CONNECT to Outlook ProductInfo. A strong team: DocuWare and Microsoft Outlook. Benefits

Setting up an MS SQL Server for IGSS

Crystal Reports Installation Guide

QAD Enterprise Applications. Training Guide Demand Management 6.1 Technical Training

Excel What you will do:

Business Insight Report Authoring Getting Started Guide

Deltek Vision 6.2 SP1. Technical Installation Guide

SharePoint 2013 Business Intelligence

Course: SharePoint 2013 Business Intelligence

IT462 Lab 5: Clustering with MS SQL Server

Moving the TRITON Reporting Databases

TIBCO Spotfire Metrics Modeler User s Guide. Software Release 6.0 November 2013

COGNOS 8 Business Intelligence

CRGroup Whitepaper: Digging through the Data. Reporting Options in Microsoft Dynamics GP

Business Intelligence Office of Planning Planning and Statistics Portal Overview

DocuSign for SharePoint

TechTips. Connecting Xcelsius Dashboards to External Data Sources using: Web Services (Dynamic Web Query)

Insights for SharePoint 2013 INTRODUCTION TO THE BI TOOLS

How to Configure a Stress Test Project for Microsoft Office SharePoint Server 2007 using Visual Studio Team Suite 2008.

Taleo Enterprise. Taleo Reporting Getting Started with Business Objects XI3.1 - User Guide

Special Edition for FastTrack Software

Pro SQL Server Reporting Services. Third Edition. mm m. Brian McDonald. Shawn McGehee. Rodney Landrum. Apress*

NetWrix File Server Change Reporter. Quick Start Guide

self-service business intelligence synergies with microsoft powerpivot

Course MS55003A Microsoft SharePoint 2010 Business Intelligence Services

Connecting to Manage Your MS SQL Database

Implementing Data Models and Reports with Microsoft SQL Server 2012 MOC 10778

DevInfo 7 Web Installer Guide

Crystal Reports. For Visual Studio.NET. Reporting Off ADO.NET Datasets

Version Getting Started

Connecting to SQL server

Creating a New Database and a Table Owner in SQL Server 2005 for exchange@pam

SharePoint 2013 Business Intelligence Course 55042; 3 Days

NETWRIX FILE SERVER CHANGE REPORTER

Preparing to Install SQL Server 2005

(These instructions are only meant to get you started. They do not include advanced features.)

Creating Dashboards for Microsoft Project Server 2010

Migrating helpdesk to a new server

Deploying Microsoft Operations Manager with the BIG-IP system and icontrol

Report Builder. Microsoft SQL Server is great for storing departmental or company data. It is. A Quick Guide to. In association with

SELF SERVICE RESET PASSWORD MANAGEMENT DATABASE REPLICATION GUIDE

Creating XML Report Web Services

TaskCentre v4.5 Run Crystal Report Tool White Paper

v6.1 Websense Enterprise Reporting Administrator s Guide

Developing SSRS Reports for Dynamics AX

Composite.Community.Newsletter - User Guide

Sophos Reporting Interface Creating Reports using Crystal Reports 2008

Transcription:

Create Reports Utilizing SQL Server Reporting Services and PI OLEDB Tutorial

Introduction... 3 PI OLEDB... 3 SQL Server 2005 Reporting Services (SSRS)... 3 Installed Software on Tutorial PC... 3 Basic Report Creation Tutorial... 4 Step 1 Opening the Tutorial Project... 4 Step 2 Report Definition File... 4 Step 3 Connection to PI Server via PI OLEDB... 5 Step 4 SQL Query... 6 Step 5 Layout and Preview... 6 Step 6 Deploying Reports to IIS... 7 Reporting Models/Scenarios... 8 Portal Integration... 8 Embedded Reporting... 8 Internet Reporting... 9 Conclusion... 9 Page: 2

Introduction The goal of this document is to learn how to create a simple report using the PI OLEDB provider in the MS SQL Server 2005 Reporting Services environment (SSRS). PI OLEDB OLEDB provider for OSIsoft s PI Server is the middle tier component that implements SQL for the PI Server. Other applications, capable of working with OLE DB data sources, can thus query the underlying PI data and provide it to end users in the standardized form. One of these applications is the Microsoft s Reporting Services, which is part of the SQL Server 2005: SQL Server 2005 Reporting Services (SSRS) SQL Server 2005 Reporting Services is a server-based reporting platform that can be used to create and manage tabular, matrix, graphical, and free-form reports that contain data from relational and multidimensional data sources. The reports can be viewed and managed over a World Wide Web-based connection. Reporting Services includes the following core components: Complete set of tools that one can use to create, manage, and view reports Report Server (NT Service) component that hosts and processes reports in a variety of formats. These (output) formats include HTML, PDF, TIFF, Excel, CSV, and more. One of the sources of data the Reporting Services can work with are OLEDB providers. This document outlines a short tutorial describing how to create a simple report by means of the aforementioned components (SSRS and PI OLEDB). The goal is also to show the simplicity of this approach, because no programming is involved to create a report. In addition, the available report deployment models/schemas are shortly discussed at the end of this document. Reporting Services detailed help can be found in MS SQL Server Books Online available at http://www.microsoft.com/sql/default.mspx Installed Software on Tutorial PC Windows XP Professional Microsoft MDAC 2.7 SP1 PI SDK 1.3.3.304 PI OLEDB 3.1.0.0 PI Server 3.4.370.54 MS SQL Server 2005 with Reporting Services (can be on a separate PC) The following paragraphs describe how to create the SSRS report in the Microsoft Visual Studio 2005: Page: 3

Basic Report Creation Tutorial This tutorial will guide you through report project creation, set up connection information, define a query, add a table, and preview the report: Step 1 Opening the Tutorial Project 1. Click Start, point to Programs, point to Microsoft SQL Server 2005, and then click Business Intelligence Development Studio. 2. On the File menu, point to New, and then click Project. 3. In the Project Types list, click Business Intelligence Projects. 4. In the Templates list, click Report Server Project. 5. In Name, type Tutorial1. 6. Click OK to create the project. The Tutorial1 solution is displayed in Solution Explorer. Step 2 Report Definition File 1. In Solution Explorer, right-click Reports, point to Add, and click New Item. 2. In Add New Item, click Report. 3. In Name, type Visited URLs.rdl and then click Add. A view opens that contains Data, Layout, and Preview tabs. This is the Report Designer component of Business Intelligence Development Studio. The report opens in Data view. Figure 1. Report Definition File in VS 2005 Page: 4

Step 3 Connection to PI Server via PI OLEDB 1. In the Data tab, expand the contents of the Dataset drop-down list at the top of the page, and select New Dataset. The Data Source dialog box appears. 2. In Name, type PI OLEDB. 3. In Type, select OLE DB. 4. Press the Edit button and fill in the PI OLEDB connection properties. See the PI OLEDB manual for details. 5. In the Credentials tab explicitly specify login account (otherwise you may get errors when running the report). Figure 2. OLE DB Connection String After the data source is defined, Report Designer creates a dataset (we named it PI OLEDB) and displays the generic query designer, which you can use to design the query. For this tutorial, we will create a query that retrieves the times someone has visited the http://techsupport.osisoft.com page. Page: 5

Step 4 SQL Query 1. Type the following or a similar query into the SQL pane of the generic query designer. The SQL pane is the top pane in the design tool. In our example the tag 'pioledb001_string' contains IP addresses that represent login times of a certain client PC. You may choose any other available tag and related query: SELECT time FROM picomp2 WHERE time >'*-7d' AND tag LIKE 'pioledb001_string' AND CAST(value AS string) = '192.168.100.5' GROUP BY time 2. To view the results of the query, click the Run (!) button on the query designer toolbar. Step 5 Layout and Preview 1. Click the Layout tab and go through the dialogs that allow for specifying the format of your report. See SQL Server Books OnLine for more details. 2. Save the report project. On the File menu, click Save All. 3. Click the Preview tab. Report Designer runs the report and displays it in Preview view. Figure 3. Final Report in a Web Browser Page: 6

Step 6 Deploying Reports to IIS The final report has to be deployed onto the given location so that the IIS knows how to address it. A standard deployment model consists of a single report server instance that uses a local or remote SQL Server database engine to host the report server database. The following diagram shows the standard deployment model where the report server database is located on a remote server. The report database and the report server components can also be installed locally, so that the involved server components are on the same computer. Figure 4. Reporting Services Structure Page: 7

Reporting Models/Scenarios Users who work with business data often require the ability to create and refine reports on an ad-hoc basis. Reporting Services includes the Report Builder component to achieve this (more info about this area can be again located in SQL Server 2005 Books OnLine). There are a couple of other possibilities how users can access reports. At this place we will shortly summarize the various approaches: Portal Integration Reports can be integrated into the web portal solution - MS SharePoint Portal Server. They can be hosted in a portal page via a SharePoint web part: Figure 5. MS SharePoint Portal Server Reporting Web Part Moreover, in the portal environment it is possible to create a report that mimics a dashboard-style Web application by embedding multiple reports, charts, and data-driven images into a single free-form report layout. Embedded Reporting In general, there are three options how to implement Reporting Services into the custom application: URL Access direct and most efficient way to integrate the reports into the application. The report can be addressed directly via url; e.g.: http://myserver/reportserver/myreport. Report Server Web Service provides additional capabilities of managing a content of the Report Server through a set of Web methods. ReportViewer controls for Visual Studio 2005 - In addition to URL access and the Report Server Web Service, Microsoft Visual Studio 2005 contains a set of freely distributable report viewer controls that make it easy to embed Reporting Services functionality into custom applications. Page: 8

Figure 6. Reporting Services Integration Scenarios Internet Reporting One can make reports available outside the intranet by deploying a report server on an Internet-facing Web server. Such an Internet report deployment usually requires that a custom security extension to support forms-based authentication is in place. Conclusion As outlined above, business users can use Report Manager, SharePoint Web parts, or a Web browser to view reports on demand, or subscribe to reports that are delivered through e-mail or to a file share. The number of possible scenarios is immense. In general we can say that whenever users need to incorporate tabular or chart data into a line-of-business application, it pays off to think about a reporting tool that keeps reports on a central server in a maintainable form. The SSRS environment is one of the answers to this problem. It is a very efficient tool that enables report creation without programming. Together with PI OLEDB, the only knowledge that is needed is thus to know how to formulate the SQL query against the PI Server. Page: 9