Register for a Free Account
Name
Email
Choose Password
Confirm Password

Building a Report (Part 1 of 3)

Part 1 of 3 | Part 2 →

1. To begin building your custom report, the first step will be to create a brand new report within the Business Intelligence tool.

To get started, open Business Intelligence and locate the outermost “Reports” folder. It is denoted by the black computer screen icon, and it holds all existing custom reports. Right-click on this “Reports” folder, and choose “Create Report” from the options that appear.

When you choose “Create Report”, a window will appear that requires you to enter a name for your new report. Choose a name and select “Save & Close”.

Your new report will appear at the bottom of the list of existing reports. Navigate to the report and select it to drop down its components. When a new report has been created, it does not contain any datasets, columns, or views to choose from – you must add these components.

(Note: There will be a red exclamation icon next to your report or an element of your report whenever something is not computing correctly; it will always show on a report that does not yet have tables or columns to generate data from, as seen in this example.)

2. To start adding data and information that you can manipulate and utilize in your report, right-click on your report’s name, and choose “Add Data Set” from the options that appear.

In the “Add/Edit Dataset” window that appears, choose a name for your dataset - it will be helpful to give it a name that relates to the data type you plan to extract. This name is for your organizational purposes only, as a user will not see this name on the front end of the report.

Additionally, this first dataset will be like a “lens” your report will view all other information through; therefore, this will be our Base dataset. Check the “This is the base dataset” option, and “Save & Close”.

Base Datasets:

As described above, base datasets are the primary datasets that we extract our information from. We reference these base datasets constantly as we choose and join tables to extract the information that we require in our custom reports. However, there is only one base dataset; we may have other datasets to help us in our information gathering, but all other datasets will join their tables to those of the base dataset.

Aggregate Datasets:

Another type of dataset that you may need for your custom reports is the aggregate dataset. An aggregate dataset is a dataset where you can add and join new tables, and apply conditions separately from the base dataset. This is helpful in a case where you need certain calculations performed or information extracted that could otherwise affect the base dataset’s report. You can then join the aggregate dataset to the base dataset by any of the “Join” methods that will be discussed in the next section.

If you already have a base dataset and would like to create an additional aggregate dataset, right-click on the report name, choose “Add Data Set”, name your dataset, and check the “This is an aggregate dataset” option. “Save & Close”.

3. Once you have created your base dataset, you must select the model that will make up that dataset. A model, or “table”, can be thought of as a storage container for data. There are several different tables to choose from, and each table stores its unique list of data points.

Simple/Smart Columns:

Once you have chosen a base table to extract information from, you can choose any of the data points that are contained in this table to use as building blocks for your report. These data points are displayed as Columns, and each report begins with an empty “Columns” list that will store the specific columns you want to use.

To choose a column to be used in the report, right-click on the table that the column resides in, and choose “Add Column”. This will bring up the “Add / Edit Column” window. Here, you can view all of the available columns of the table; choose one, and “Save & Close”.

You can see that the Column Type we have used is the Simple Column. (As discussed in a previous section, Simple Columns are denoted by three green dots in the Columns list of the report). A Simple Column is selected directly from the table. You can perform some functions with this type of column in the Expression area of the “Add / Edit Column” window.

We also have the option of creating a Smart Column by right-clicking on any table in your report, and choosing “Add Smart Column”. Smart columns are not columns directly chosen from a specific table - instead, you can choose multiple columns from the tables that you have specified for your report. This is helpful when performing more complex calculations because you can pull in multiple columns to perform functions on. (Smart columns are denoted in the Columns list of the report by six green dots.)

Joining Tables:

Oftentimes, you will need more than one table to achieve a report that meets your needs. In such a case, “join” a new table to your base table to acquire access to more information that you can utilize.

For example, if we choose the “Person” table as our base table, that “Person” table provides columns to choose from that include a CRM record’s “First Name” and “Last Name”. But, that table does not include the person’s “Default Address”; so, in order to access related data like this, we will need to join another table to our base table.

Right-click on the table to which you want to add another table, and choose “Add Model”. The menu that appears will show all of the tables that can be connected to the main model (in this case, we see that “Person Address (Default Address)” is available to be joined). Next to each table’s name on the dropdown list, the type of relationship that the table has with the main table is shown in bold and parentheses (i.e. a many-to-one relationship, or a one-to-one relationship).

Choose one of these tables, and “Save & Close”. Now you can see the “Person Address (Default Address)” table nested below the Person table it is joined to.

Joining Datasets:

If you have an aggregate dataset that you need to join to your base dataset, there are a couple of extra steps to take. Right-click on the base dataset and choose “Add Data Set Join”. A new window will pop up that will give you a list of your existing datasets. From this list, choose the dataset that you want to join to the base dataset.

To join datasets together, each dataset must have a common column that they can share. On the left side of the “Add / Edit Dataset Join” window, you will see the “Master Data Set Columns”. From this menu, choose the column from the base dataset that you want to use for joining the new dataset. Double-click this column to select it and to make it appear in the “ON” text area, type “=”, and then choose the same column from the right side: “Join Data Set Columns”. The columns in this right menu represent the columns in the new aggregate dataset.

With this expression that you have made (“Person Id = Person Id”), you have now set the common column that your datasets can be joined with.

You can see that the “Join Type” chosen here is the “Left” join type. While this might be the most common type of Join you will use, there are a few that you can choose from:

• Left Join Type (most common)

Watch the video

Basic Business Intelligence - Part 2: Building Reports/Joining Tables/Simple vs Smart Columns (18:09)

Part 1 of 3 | Part 2 →