Database
  Home arrow Database arrow Crystal Report from OLAP Data Introduction
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DATABASE

Crystal Report from OLAP Data Introduction
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 18
    2005-10-05

    Table of Contents:
  • Crystal Report from OLAP Data Introduction
  • Using Crystal Reports with OLAP Data
  • Choosing a CUBE
  • Choosing a style for the report

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Crystal Report from OLAP Data Introduction


    (Page 1 of 4 )

    If we had to deal with the data residing in databases and data marts all at once, we'd quickly get bogged down. Fortunately, there are programs that allow us to generate reports from this data, thus turning it into information we can use. This article walks you through generating a report from an OLAP server using Crystal Reports.

    Although there may be a lot of data residing in databases/data marts, most of the time the interest is in generating reports in the form of hard copies, or interactive reports that can be generated on the fly on client platforms, or reports that can be seen on a web page. There are many options for generating reports such as MS Access, Crystal Reports, Designer objects in VB, SQL Reporting Services, Actuate, and so forth. This tutorial is a step-by-step guide to generating reports from an OLAP server such as Microsoft's Analysis Server using Crystal Reports (ver. 8.5). Only some major steps are shown in this tutorial to minimize the size of the tutorial. However, you may download (only if you give permission to download) an executable which includes all the screen shots for this tutorial without annotations.

    OLAP and SQL 2000 Server's Analysis Server

    OLAP stands for Online Analytic Processing. Data warehouses and data marts extract information from Online Transaction Processing (OLTP) systems to provide the required information to users, or feed into reporting systems for report generation.

    OLAP does not install when the SQL Server is installed, it needs to be installed from the same SQL Server Disc.

    OLAP's main task is to provide an online reporting system, consolidating the business intelligence into a reportable format which is essentially a 'read-only' activity. 

    OLAP's main representation of business facts is via what is known as a 'Cube'. A Cube is a multidimensional representation of business facts that can be accessed quickly to provide specific information. (This can be accomplished by properly written queries in a relational database, but the overhead involved in processing the query, which may involve a large number of 'joins', is simply not efficient). While a relational model is more suited to OLTP, a different model is necessary for OLAP. Whereas highly normalized tables are a norm for OLTP, the model for OLAP does not require normalization. 

    Here is an example of  a cube named 'Sales'. It consolidates information from various tables, or groups of tables to obtain information about sales figures for 1998. It has information in several dimensions, namely, Customer, Product, Store, and time. Also it looks at certain 'Measures' (Business Intelligence) to extract from the tables, namely, 'Store Sales', 'Store Cost', and 'Unit Sales'. The next screen shot shows this information for the cube called 'Sales.'

    With regard to the measures, each dimension (which is the same as a table or groups of tables) may have several columns, but only certain information needs to be included in the final consolidated Cube. For example, Customer tables may have a lot more information than 'Country', 'State', 'City', and 'Last Name'. This is seen in the next screen shot:

    <-- Screen shot of the 'CUBE'
    Screen shot of Customer table-->

    The Screen shot on the left shows what the 'Cube' has set up to process, and the screen shot on the right shows all fields available in the "Customers" table.

    After the 'Cube' is configured, the 'Cube' needs to be processed, which may take quite a bit of time depending on the size of the database and the various 'Measures' and 'Dimensions'. When the processing is finished an instance of the 'Cube' will be available for the user.

    This screen shot shows the processed 'Cube' called 'Sales.'

    Processed Cube

     

    From this screen (the screen in the Analysis Server), for any of the dimensions from the drop down boxes, the summarized information from the OLAP can be obtained.

    More Database Articles
    More By Jayaram Krishnaswamy


       · I am welcoming you again for a fruitful discussion of this topic. The version of...
       · I've created cube In Sql sever.. when i try to attach the report with OLAP...
       · Your question is somewhat vague. Could you let me know at what stage of the wizard...
       · can I use an Oracle OLAP cube with Crystal REports in the same manner as demostrated...
     

    DATABASE ARTICLES

    - Building Applications with Anonymous Types
    - A Closer Look at Anonymous Types
    - Programming with Anonymous Types
    - Converting Your Excel Worksheet into a Worki...
    - Excel Reference
    - Database Programming in C# with MySQL : Usin...
    - Formatting Techniques for Data Access from E...
    - Data Access from Excel VBA
    - Generating a Multiple Table Crystal Report u...
    - ADO and the Command Object
    - On Wiring Up an ADO Data Control
    - Reading and Writing to Files on the Intranet
    - Using ADO Record to Create and Navigate Intr...
    - Using Data Access Pages to Access Data on a ...
    - Using ADO with the SQL Native Client





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek