How to create and use time dimensions

Time dimensions are used to filter data against time. For instance if you wanted to see sales for a specific period (this year, this month, last quarter), then you would need to create a time dimension. Time dimensions are always linked to a time or date in the data (for instance sell date, purchase date, expiry date etcetera). When you import a table or file which has a field which Vizubi recognizes as being in date/time format, Vizubi will automatically create a time dimension linked to that column. Data in that table or linked to that table can then be filtered against the time dimension.

Loading your database

media_12604508015683.png

Load one of the databases used in the previous lessons:

(1) Click on the Vizubi tab in the ribbon.

(2) Click on the Open button in the Database group.

(3) Browse until you find “C:\Documents and Settings\All Users\Documents\Vizubi\SampleData\” then select “getting started.ndb”.

(4) Click on the Open button to load the file.

Open the Vizubi Editor

media_12604509007002.png

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

Open the New Time Dimension window

media_1260802077938.png

(1) Click the Time Dimensions button in the Navigation Pane.

(2) Click the New Time Di mension in the New group. The New Time Dimension window opens.

(3) The new time dimensions already contains components as default (like year, month, day and other components commonly used).

(4) Leave the flag on Create Panel check box, if you want to create a panel with all the components in the time dimension. See Help for more details on Panels.

Naming the time dimension

media_12566395342422.png

(1) Insert a Name (no spaces or special characters).

(2) Add a Label and/or Description.

Ranges in time dimension

media_1260803222157.png

(1) Click on the Ranges button.

(2) The bottom box now shows the formulas used to calculate the time dimension.

(3) Double click on LY (Previous Year).

(4) This opens the Customize Range window.

Copying a formula

media_1260804026688.png

(1) Copy the string in the Formula box. Then click on Cancel to close the window.

(2) Click on the Add button in the Ranges group of the window.

Modifiyng a formula and creating a new component

media_1260805776761.png

(1) A new Customize Range window opens.

(2) Add TYA as Name and Two years ago as Label.

(3) Paste the string copied previously inside the Formula box and change it to d_year = Nbr(year(%now%)) – 2. This will make the time period of reference for this time dimension to two years before “this year” (if this year is set to 2009, TYA will show data from 2007).

(4) Click on OK to confirm and insert the new component.

Saving the new time dimension

media_1260809366646.png

(1) The new component you created has been added to the Time Dimension window.

(2) Insert OrderDate in the Formula Box.

(3) Click the Save and Close button in the Actions group to save the new time dimension (click Save and New if you want to save your time dimension and create another one as well).

View results in Vizubi Editor

media_1260870354199.png

(1) The new time dimension has been added to the list in time dimensions box.

(2) If you click on the Manage Tables button in the Navigation Pane of the ribbon you will see that a new table (Two_years_ago_Sales), has been added.

(3) Click on Switch to Workbook to go back to Excel.

How to use the new time dimension

media_1260872360928.png

(1) Click the upper part of the Report button in the Reports group of the ribbon. The Select Report window opens.

(2) Double click on “My first report” (previously created in Getting Started 1: My first report).

(3) The report opens in the worksheet.

Add a new field in our first report

media_1260873952720.png

Suppose you wanto to see sales by country not only for this year and the previous but for two years ago.

(1) Drag and drop TotalPrice from Field Section to Values pane in the Area Section.

(2) The field is add as a new column in the report.

(3) Click on Sum of TotalPrince in the Values pane and then on Expression settings… in the dropdown menu.

Set the reference period for the new field

media_1260874372509.png

(1) Click on the Define Period tab in the Expression Settings window.

(2) In the Dimensions pane (on the left side of the window) click on Two_years_ago_Sales.

(3) In the Period pane on the right, click on Two years ago.

(4) In the Custom Name box insert the name TotalPrice of Two years ago.

(5) Click on OK to confirm settings.

View the report and save it with a different name

media_1260875265700.png

(1) Now the new column shows data from two years before “this year” and the report shows sales by country for three different years.

(2) Click on the Save as button in the Reports group of the ribbon. The Save as window opens.

(3) Insert SalesbyCountry_last_two_years in the Name and Label box.

(4) Click on OK to confirm savings.

Time dimensions are used to filter data against time. For instance if you wanted to see sales for a specific period (this year, this month, last quarter), then you would need to create a time dimension. Time dimensions are always linked to a time or date in the data (for instance sell date, purchase date, expiry date etcetera). When you import a table or file which has a field which Vizubi recognizes as being in date/time format, Vizubi will automatically create a time dimension linked to that column. Data in that table or linked to that table can then be filtered against the time dimension.

Loading your database

media_12604508015683.png

Load one of the databases used in the previous lessons:

(1) Click on the Vizubi tab in the ribbon.

(2) Click on the Open button in the Database group.

(3) Browse until you find “C:\Documents and Settings\All Users\Documents\Vizubi\SampleData\” then select “getting started.ndb”.

(4) Click on the Open button to load the file.

Open the Vizubi Editor

media_12604509007002.png

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

Open the New Time Dimension window

media_1260802077938.png

(1) Click the Time Dimensions button in the Navigation Pane.

(2) Click the New Time Di mension in the New group. The New Time Dimension window opens.

(3) The new time dimensions already contains components as default (like year, month, day and other components commonly used).

(4) Leave the flag on Create Panel check box, if you want to create a panel with all the components in the time dimension. See Help for more details on Panels.

Naming the time dimension

media_12566395342422.png

(1) Insert a Name (no spaces or special characters).

(2) Add a Label and/or Description.

Ranges in time dimension

media_1260803222157.png

(1) Click on the Ranges button.

(2) The bottom box now shows the formulas used to calculate the time dimension.

(3) Double click on LY (Previous Year).

(4) This opens the Customize Range window.

Copying a formula

media_1260804026688.png

(1) Copy the string in the Formula box. Then click on Cancel to close the window.

(2) Click on the Add button in the Ranges group of the window.

Modifiyng a formula and creating a new component

media_1260805776761.png

(1) A new Customize Range window opens.

(2) Add TYA as Name and Two years ago as Label.

(3) Paste the string copied previously inside the Formula box and change it to d_year = Nbr(year(%now%)) – 2. This will make the time period of reference for this time dimension to two years before “this year” (if this year is set to 2009, TYA will show data from 2007).

(4) Click on OK to confirm and insert the new component.

Saving the new time dimension

media_1260809366646.png

(1) The new component you created has been added to the Time Dimension window.

(2) Insert OrderDate in the Formula Box.

(3) Click the Save and Close button in the Actions group to save the new time dimension (click Save and New if you want to save your time dimension and create another one as well).

View results in Vizubi Editor

media_1260870354199.png

(1) The new time dimension has been added to the list in time dimensions box.

(2) If you click on the Manage Tables button in the Navigation Pane of the ribbon you will see that a new table (Two_years_ago_Sales), has been added.

(3) Click on Switch to Workbook to go back to Excel.

How to use the new time dimension

media_1260872360928.png

(1) Click the upper part of the Report button in the Reports group of the ribbon. The Select Report window opens.

(2) Double click on “My first report” (previously created in Getting Started 1: My first report).

(3) The report opens in the worksheet.

Add a new field in our first report

media_1260873952720.png

Suppose you wanto to see sales by country not only for this year and the previous but for two years ago.

(1) Drag and drop TotalPrice from Field Section to Values pane in the Area Section.

(2) The field is add as a new column in the report.

(3) Click on Sum of TotalPrince in the Values pane and then on Expression settings… in the dropdown menu.

Set the reference period for the new field

media_1260874372509.png

(1) Click on the Define Period tab in the Expression Settings window.

(2) In the Dimensions pane (on the left side of the window) click on Two_years_ago_Sales.

(3) In the Period pane on the right, click on Two years ago.

(4) In the Custom Name box insert the name TotalPrice of Two years ago.

(5) Click on OK to confirm settings.

View the report and save it with a different name

media_1260875265700.png

(1) Now the new column shows data from two years before “this year” and the report shows sales by country for three different years.

(2) Click on the Save as button in the Reports group of the ribbon. The Save as window opens.

(3) Insert SalesbyCountry_last_two_years in the Name and Label box.

(4) Click on OK to confirm savings.

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.