Getting Started 2: Creating relationships between tables

Relationships allow you to use the information on one table to filter the information on another table. Say, for example, you have two tables, one with purchase orders and one with customer demographics. Both tables have a field which is labeled “cust_id” which contains a unique id for each customer. If you create a relationship between these two fields, you will be able to filter purchase orders against information like customer age which is contained in the customer demographics table but is not present in the purchase orders table. The type of relationship which is created is an “inner join”.
Relationships are automatically detected during the importation fase if the names of the related fields in the diferent tables being imported are exactly the same.

Load Getting Started.ndb

media_1259334234570.png

Load the Vuzubi database called "Getting Started.ndb" which you created previously:
Open excel
(1) Click on the Vizubi tab.
(2) Click on the Open button in the Database group of the ribbon and open the ndb file.

 

Open Vizubi Editor to import more data

media_1259335416361.png

(1) Click on the Edit button in the Database group of the ribbon. This will open the Vizubi Editor.

 

Importing more data: you need this data to be able to see the names of the categories in your report

media_1259335663436.png

Import a new file:

(1) Click on New Import in the New group of the ribbon.
(2) Select Delimited Text File as the Data source Type.
(3) Use the Browse button to select "C:\Documents and Settings\All Users\Documents\Vizubi\SampleData\tab\Categories.tab".
(4) Click on Next twice and finish importing the data just like you did for the Invoices table:
-Click on Import to import the data.
-Click on Save to save the import parameters.

 

View Results

media_1259336113653.png

The Categories table was imported:
(1) Click on the Categories tab to see the data in the categories table.

 

Change the column labels so that the names you see are more user friendly

media_1258623430080.png

(1) Click on the Categories tab.
(2) Double click on the CatDescription column header.
(3) The Modify Column window opens.
(4) Type "Category Description" in the Label box.
(5) Click on Confirm to save changes.

 

Create a new relationship between two fields in different tables. This will allow you to filter you report by product category name (instead of having to use the CAT_ID).

media_1259338081298.png

To Create a new relation bewtween the CatID field in the Categories table and the CategoryID field in the Invoices table:
(1) Click on Relationships.
(2) Click on New Relationship. The Relationship window opens.
(3) Rename Relationship to "Category_ID:_relationship".
(4) Select Categories in the Source Table box and CatID in the Source Column box. Then select Invoices in the Related Table box and CategoryID in the Related Column box.
(5) Click on Save and Close to save the new relationship. A relationship now exists between the two talbes.
(6) Click on Switch to Workbook to go back to Excel.

 

Create a new report in a different worksheet

media_1258628095968.png

(1) Select Sheet2.
(2) Click on the Report button in the Reports group of the ribbon.
(3) Double click on "My first Report".

 

Create the second report by modifying the first report (this is like doing a “save as” of the first report)

media_1259858096677.png

(1) Click on the Vizubi tab in the ribbon bar.
(2) Click on Customize to open the Customize Report panel.

 

Modify the report removing the Country field

media_1259858213613.png

To remove a field from Row labels:
(1) Click on Country.
(2) Click on Remove field.

 

Add the products field to the report (this will show sales by product category description)

media_1259858782889.png

(1) Find the Categories table in the fields section.
(2) Click on the check box to the left of the Category Description name. The Category Description column will be added to the report.
Notice that the relationship you created permits you to connect data from "Categories" (Category Desription) and from "Invoices" (TotalPrice).

 

View results and save the new report

media_1259858962042.png

(1) Click on Save As in the Reports group of the Ribbon.
(2) Change the name to "Report2".
(3) Write "My second Report" in the Label text box.
(4) Click on OK.
There are now two reports saved in your Vizubi Database.

Relationships allow you to use the information on one table to filter the information on another table. Say, for example, you have two tables, one with purchase orders and one with customer demographics. Both tables have a field which is labeled “cust_id” which contains a unique id for each customer. If you create a relationship between these two fields, you will be able to filter purchase orders against information like customer age which is contained in the customer demographics table but is not present in the purchase orders table. The type of relationship which is created is an “inner join”.
Relationships are automatically detected during the importation fase if the names of the related fields in the diferent tables being imported are exactly the same.

Load Getting Started.ndb

media_1259334234570.png

Load the Vuzubi database called "Getting Started.ndb" which you created previously:
Open excel
(1) Click on the Vizubi tab.
(2) Click on the Open button in the Database group of the ribbon and open the ndb file.

 

Open Vizubi Editor to import more data

media_1259335416361.png

(1) Click on the Edit button in the Database group of the ribbon. This will open the Vizubi Editor.

 

Importing more data: you need this data to be able to see the names of the categories in your report

media_1259335663436.png

Import a new file:

(1) Click on New Import in the New group of the ribbon.
(2) Select Delimited Text File as the Data source Type.
(3) Use the Browse button to select "C:\Documents and Settings\All Users\Documents\Vizubi\SampleData\tab\Categories.tab".
(4) Click on Next twice and finish importing the data just like you did for the Invoices table:
-Click on Import to import the data.
-Click on Save to save the import parameters.

 

View Results

media_1259336113653.png

The Categories table was imported:
(1) Click on the Categories tab to see the data in the categories table.

 

Change the column labels so that the names you see are more user friendly

media_1258623430080.png

(1) Click on the Categories tab.
(2) Double click on the CatDescription column header.
(3) The Modify Column window opens.
(4) Type "Category Description" in the Label box.
(5) Click on Confirm to save changes.

 

Create a new relationship between two fields in different tables. This will allow you to filter you report by product category name (instead of having to use the CAT_ID).

media_1259338081298.png

To Create a new relation bewtween the CatID field in the Categories table and the CategoryID field in the Invoices table:
(1) Click on Relationships.
(2) Click on New Relationship. The Relationship window opens.
(3) Rename Relationship to "Category_ID:_relationship".
(4) Select Categories in the Source Table box and CatID in the Source Column box. Then select Invoices in the Related Table box and CategoryID in the Related Column box.
(5) Click on Save and Close to save the new relationship. A relationship now exists between the two talbes.
(6) Click on Switch to Workbook to go back to Excel.

 

Create a new report in a different worksheet

media_1258628095968.png

(1) Select Sheet2.
(2) Click on the Report button in the Reports group of the ribbon.
(3) Double click on "My first Report".

 

Create the second report by modifying the first report (this is like doing a “save as” of the first report)

media_1259858096677.png

(1) Click on the Vizubi tab in the ribbon bar.
(2) Click on Customize to open the Customize Report panel.

 

Modify the report removing the Country field

media_1259858213613.png

To remove a field from Row labels:
(1) Click on Country.
(2) Click on Remove field.

 

Add the products field to the report (this will show sales by product category description)

media_1259858782889.png

(1) Find the Categories table in the fields section.
(2) Click on the check box to the left of the Category Description name. The Category Description column will be added to the report.
Notice that the relationship you created permits you to connect data from "Categories" (Category Desription) and from "Invoices" (TotalPrice).

 

View results and save the new report

media_1259858962042.png

(1) Click on Save As in the Reports group of the Ribbon.
(2) Change the name to "Report2".
(3) Write "My second Report" in the Label text box.
(4) Click on OK.
There are now two reports saved in your Vizubi Database.

Video

Getting started

Vizubi 2.0 BETA: a new beginning

You asked, we delivered For the last several months, our team has been hard at work to bring you a new incarnation of Vizubi. The world’s most agile Excel Reporting solution can now build and distribute reports with a click from multiple sources and huge data sets in a matter of minutes. Vizubi 2.0 effectively [...]

Vizubi 2.0 Quickstart Video Tutorials

Here’s a Quickstart to Excel Business Intelligence and Reports done with the help of Vizubi 2.0. Discover how to trasform Excel in a powerful self service business intelligence tool; be up and running in minutes. Vizubi 2.0 overview | Excel Report Builder Intro Before creating Reports: Load Data from Database to Excel Create an Excel [...]

How to activate Vizubi 2.0 Report Builder

Send Excel reports as email attachment with Vizubi 2.0Invia report Excel allegati alle email con Vizubi 2.0

Vizubi 2.0 The Webinar – 13-12-2011 0900 EST

Excel reporting Webinar: creare excer or pdf reports from your data.Excel Reporting seminario online: crea report Excer o pdf rdai tuoi dati.

Import thousands of recipients and filters automatically

Import thousand of Excel reports recipients automaticallyImport thousand of Excel reports recipients automatically

Reports formats: Excel, PDF, and…?

Vizubi can deliver reports in either Excel or .pdf formats. What other formats would you like to be available for your reports?Vizubi can deliver reports in either Excel or .pdf formats. What other formats would you like to be available for your reports?

Quickly create professional Excel reports

Qlickly create Excel reports without writing queries thanks to drag and drop functionality.Qlickly create Excel reports without writing queries thanks to drag and drop functionality.

How to

Vizubi 2.0 BETA: a new beginning

You asked, we delivered For the last several months, our team has been hard at work to bring you a new incarnation of Vizubi. The world’s most agile Excel Reporting solution can now build and distribute reports with a click from multiple sources and huge data sets in a matter of minutes. Vizubi 2.0 effectively [...]

Vizubi 2.0 Quickstart Video Tutorials

Here’s a Quickstart to Excel Business Intelligence and Reports done with the help of Vizubi 2.0. Discover how to trasform Excel in a powerful self service business intelligence tool; be up and running in minutes. Vizubi 2.0 overview | Excel Report Builder Intro Before creating Reports: Load Data from Database to Excel Create an Excel [...]

How to activate Vizubi 2.0 Report Builder

Send Excel reports as email attachment with Vizubi 2.0Invia report Excel allegati alle email con Vizubi 2.0

Vizubi 2.0 The Webinar – 13-12-2011 0900 EST

Excel reporting Webinar: creare excer or pdf reports from your data.Excel Reporting seminario online: crea report Excer o pdf rdai tuoi dati.

Import thousands of recipients and filters automatically

Import thousand of Excel reports recipients automaticallyImport thousand of Excel reports recipients automatically

Reports formats: Excel, PDF, and…?

Vizubi can deliver reports in either Excel or .pdf formats. What other formats would you like to be available for your reports?Vizubi can deliver reports in either Excel or .pdf formats. What other formats would you like to be available for your reports?

Quickly create professional Excel reports

Qlickly create Excel reports without writing queries thanks to drag and drop functionality.Qlickly create Excel reports without writing queries thanks to drag and drop functionality.