Skip to main content
Version: 7.9

Getting Started with the Report Table

The Report Table is another Reporting component, like report charts, that has a lot of features and functions that help you create meaningful reports. Tables are a major part of Reporting and simple to create. This page will give you a great head start for creating your own standard report tables using the built-in design tools.

Creating a Report Table

Creating a table is a simple process, but the order of how you create a table is important. The first thing you need before creating your report table is to create a data source. Your data source can be a query, script, or CSV file. Next, add a table and configure the data in the table that you want to display. Lastly, you can use the built-in design tools to enhance your reports. You can add images to your reports, change row types, show mathematical calculations, change the font style, size, or color of the text, and much more.

Let's get started!

This example creates a standard chart that tracks the downtime minutes for each production line. We'll configure the data in the table, do a calculation, add an image, and make a few property changes so you get a sampling of the power of report tables.

Adding a Datasource


This example uses a CSV file as it's datasource. You can use the one shown in the code block below, or create your own.

  1. In the Data panel, click the plus button to add a datasource, and select StaticCSV from the resulting list of options. From the code block below, copy the text and paste it into the Data field. This is the data that we will use in this example.
CSV Datasource
Production Line, Downtime
Line A, 75
Line B, 92
Line C, 43
Line D, 54
Line E, 66
Line F, 80
Line G, 40
Line H, 88

Table Configuration

  1. Go to the Design panel, and drag a Table component into the page.

  2. From the Key Browser, expand the Datasources folder, and drag your data source (i.e., Downtime Data) into the Data Key field of the Configure Table tab of the Property Inspector.

  3. Add Header and Summary rows by marking the checkboxes.

  4. Now, let's configure the data in the Table. With the Table still selected, drag each of the data keys to a cell on the table above the Data Details row: (i.e., Production Line, and Downtime).

  5. Next, let's add column headers by selecting a cell above one of our details cells, and enter the appropriate column header name (i.e., Production Line, and Downtime [Minutes]). You can change the font style, size, and color using the functions on the right side of the Edit Text Tab. Bold the headers using the Bold button.

  6. Go to the Preview panel to view your report with the data. It's very common to make formatting changes once you see how your data looks in the report.

Finishing Touches

  1. Back in the Design panel, let's make a few changes. Select the "@Production Line@" in the Details row and click on the Properties Tab to see all the cell properties. Let's change the Horizontal Alignment property from left to Center so the data falls nicely under the header. Repeat this for "@Downtime@."
Checking your table in the report

At any point during the table configuration process you can go to the Preview panel and see how your table looks with all the data. Configuring the data and designing the table layout is an iterative process. You can go back and forth between the Design and Preview panels as many times as you want making and viewing changes until you get the results you want.

  1. Let's add the total downtime by using the 'total' calculation. In the Key Browser, set Show Calculations to 'true'.
  2. The Data Summary row is a good place to show the total number of downtime minutes. Expand the Downtime data key and you'll see a list of calculations you can use. Drag the 'total' key to a cell in the Data Summary row.
  3. You can even give the total number of downtime minutes a title, make it blue, and bold it (i.e., Total Downtime). If the cell is too small to show the title, you can make the cell larger by dragging the cell border either to the left or right. You can also select the Data Summary row, go to the Properties tab and change the Column Count (i.e., 2), as shown in the screenshot below. Click the Preview tab to check your work.

Preview a Report

The Preview panel lets you validate that all your data is organize and formatted, and you're completely satisfied with how your data is presented in the report. Once your satisfied, you can schedule the report to be run and delivered automatically.