SpagoBI 3.x Quick Start
SpagoBI 3.x Quick Start
SpagoBI 3.x Quick Start
x
Summary:
SPAGOBI.............................................................................................................................................2 SOFTWARE DOWNLOAD................................................................................................................4 SOFTWARE INSTALLATION AND CONFIGURATION...........................................................5 Installing SpagoBI Server.................................................................................................................5 Installing SpagoBI Studio and Meta.................................................................................................6 CREATE A BUSINESS MODEL ..................................................................................................7 INQUIRY THE MODEL................................................................................................................. 7 DEPLOY THE MODEL AND THE QUERIES INTO SPAGOBI SERVER.................................7 CREATE A WORKSHEET.............................................................................................................8 Create the query ...........................................................................................................................8 Build the worksheet......................................................................................................................8 More on Widget............................................................................................................................8 Adding a pivot table..................................................................................................................... 8 Adding a chart.............................................................................................................................. 8 Publish the Worksheet..................................................................................................................8 SPAGOBI STUDIO : CREATE A CHART........................................................................................ 9 Create the chart.............................................................................................................................9 Deploy to the server .....................................................................................................................9 Link the chart to a dataset.............................................................................................................9 Publish the chart........................................................................................................................... 9
Page 1 Copyright 2011 Engineering. All rights reserved. All other trademarks, trade names, service marks and logos referenced herein belong to their respective companies.
This guide is a step-by-step pathway aiming to help users to easily setup their own BI scenarios, from data modelling to data inquiry, using the Meta, Studio and Server modules of SpagoBI suite.
SPAGOBI
Hereby a simple view of the involved modules and a short description of each of them.
What is SpagoBI Server? It is a web application deployed into a J2EE application server (Tomcat, JBoss, WebSphere, etc.) It can run on any operating system that supports JVM from 1.5 (1.6 preferred) It works with a private repository hosted on DBMS (MySQL, Postgres, Oracle, Ingres, HSQL, etc.) The application can be accessed through almost all major web browsers (IE, Firefox, Opera, Safari) It natively runs on several portal servers (liferay, exo portal, WwebSphere, etc.) Who is it for? End-user: unified access point through the web browser System administrators: through the management web interface What is it for? Environment offering all typical BI functionalities : Report OLAP Chart Data Mining GEO-referenced analysis Free Inquiry (QbE) Data Filtering ( Smart Filter) Ad hoc reporting (Worksheet) RT dashboards
Page 2 Copyright 2011 Engineering. All rights reserved. All other trademarks, trade names, service marks and logos referenced herein belong to their respective companies.
RT console Accessible reporting Interactive cockpits KPI (modeller and navigator) Analytical Dossier and workflow Office integration ETL It allows to manage the product through a web interface It allows to manage the object lifecycle inside the BI repository It exposes tools and cross services, such as scheduling, collaboration, etc.
What is SpagoBI Meta? It is an eclipse plug-in Who is it for? Data Modelers and Data Owners setting up the semantic layer on which the BI project will be based What is it for? It is a graphical environment to develop business models (semantic layer) It allows to deploy Business Models into SpagoBI Servers It allows to inquiry Business Models before designing an analytical document What is SpagoBI Studio? It is an eclipse plug-in Who is it for? SpagoBI developers creating analytical documents (chart, report, dashboard, etc.) What is it for? It is a graphical environment to develop, test and deploy analytical documents (such as reports) into one or more SpagoBI Servers What is SpagoBI SDK? It is a collection of web services, tags and JavaScript API that permit other applications to interact with a SpagoBI Server Who is it for? Project teams that need to integrate SpagoBI What is it for? It allows to use SpagoBI from external applications
SpagoBI Meta and Studio can also be plugged into the same Eclipse.
Quick start - A project with SpagoBI 3.x (v. 1.0) Page 3 Copyright 2011 Engineering. All rights reserved. All other trademarks, trade names, service marks and logos referenced herein belong to their respective companies.
SOFTWARE DOWNLOAD
Download the following packages of the most recent SpagoBI release from OW2 Consortium Project Forge (http://forge.ow2.org). All-In-One-SpagoBI<last release tag> This package contains a standard installation of SpagoBI running on Tomcat, all engines already configured for you and a simple demo of SpagoBI functionalities on a HSQL DB repository. SpagobiMetaAndStudio-<os version> It is a pre-packaged eclipse including the studio and meta plug-in. Select the package for your OS platform. SpagobiMeta-<os version> It is a pre-packaged eclipse including the meta plug-in. Select the package for your OS platform. If you want to install the BI repository on a different database, you have to download the SQL scripts that create the empty schema into one of the supported RDBMS and execute them on your DB console.
Page 4 Copyright 2011 Engineering. All rights reserved. All other trademarks, trade names, service marks and logos referenced herein belong to their respective companies.
Page 5 Copyright 2011 Engineering. All rights reserved. All other trademarks, trade names, service marks and logos referenced herein belong to their respective companies.
Page 6 Copyright 2011 Engineering. All rights reserved. All other trademarks, trade names, service marks and logos referenced herein belong to their respective companies.
CREATE A WORKSHEET
Create the query Open the QBE file that identifies the BM previously created, select your fields of interest and verify your results on the second tab of the main window of SpagoBI Server. Build the worksheet Now you can create your first WorkSheet. Just click on the third tab "worksheet designer". Please, refresh selectable fields on the upper left and drag the widget that you want to be included in the central panel and the fields that you want to be displayed in your object. To check the results, click the fourth tab "worksheet preview." To add a new object to your document, you can click on the green PLUS in the designer (below the main window), to have a new sheet available. More on Widget Lets see what can be done with the worksheet. The widgets now available are: Basic Table Pivot Table Pie chart Line/area charts Bar/stacked charts Adding a pivot table Drag the pivot widget from the palette to the main panel. Drag measures into the related area and some attributes inside the rows and columns area. As for measure, remember that it is very important to previously set the attribute property type as a measure in the BM, otherwise the widget fields will not be displayed. Adding a chart. Go back to the designer and add a new sheet, then drag the pie widget into the main page and refresh the fields catalogue. Inside the SERIES area, drag the fields defined as a measure and, inside the CATEGORIES area, drag the attributes that have to be associated with the reference measures. Now click on the preview to see the final chart. Publish the Worksheet Save your document, by clicking the icon at the top right and selecting the folder to save it in.
Quick start - A project with SpagoBI 3.x (v. 1.0) Page 8 Copyright 2011 Engineering. All rights reserved. All other trademarks, trade names, service marks and logos referenced herein belong to their respective companies.
Page 9 Copyright 2011 Engineering. All rights reserved. All other trademarks, trade names, service marks and logos referenced herein belong to their respective companies.
CONCLUSION
This quick overview of SpagoBI 3.x new functionalities demonstrates that granting the access to your data is definitely a matter of minutes. This is particularly useful with agile BI approaches or when you need to build up a prototype or a POC in a short time. This can reduce project risks, avoiding to spend time and money on traditional BI activities before having a correct vision and stable users requirements. References: Web site SpagoBI: http://www.spagoworld.org/xwiki/bin/view/SpagoBI/ Demo On-line: http://spagobi.eng.it/SpagoBI/servlet/AdapterHTTP?PAGE=LoginPage&NEW_SESSION=TRUE Wiki: http://wiki.spagobi.org/xwiki/bin/view/Main/ Forum: http://www.spagoworld.org/jforum/forums/list.page Tracker (Jira): https://www.spagoworld.org/jira/browse/SPAGOBI Download: http://forge.ow2.org/project/showfiles.php?group_id=204 Services: Support http://www.spagoworld.org/xwiki/bin/view/SpagoBI/Support Consulting http://www.spagoworld.org/xwiki/bin/view/SpagoBI/Consulting Services Network http://www.spagoworld.org/xwiki/bin/view/SpagoBI/ServicesNetwork Shop https://spagoshop.spagoworld.org/spagoshop/ Training: http://www.spagoworld.org/xwiki/bin/view/SpagoBI/Training?language=en
Page 10 Copyright 2011 Engineering. All rights reserved. All other trademarks, trade names, service marks and logos referenced herein belong to their respective companies.