Skip to main content

Our Aggregate Table is a summarized version of another table within your instance. Aggregate tables are helpful as they can provide a single scaler value that is based on a range of values or a column. As an example, aggregate tables are beneficial in financial and sales reporting, where transactional level data is not needed and results are instead grouped by business units or sales teams.

Adding an Aggregated Table

Use the following steps to add an aggregate table.

  1. Under Tables in a data area, right click the table, you want to add an aggregated version of, click Advanced and click Add Aggregate Table. The Add Aggregate Data Table window opens.  

     

  2. In the GroupBy section, select the table columns that should be used to aggregate the data.
    1. In the first Table: ttable name] column, select the column to be used for grouping.
    2. In the Name column, enter a name for the field.
    3. For data types that are not dates, the GroupBy Type column will always be set to Value.
    4. For columns that contain date values, the GroupBy Type column allows for the grouping granularity to be set from a list time units ranging from Seconds all the way up to Year. Note that it is possible to use the same date column multiple times with different GroupBy types.
  3. In the Aggregate section, select the columns from the table to be aggregated.
    1. In the Table: itable name] column, select the column to be aggregated.
    2. In the Field column, enter a name for the field.
    3. In Aggregation Type column, select the aggregation method from one of the following options:
      1. Min: The lowest value of the field in question.
      2. Max: The highest value of the field in question.
      3. Count: The number of rows.
      4. Count_Big: Same as count, but is able to count higher than 2^31, be-cause it uses the bigint data type instead of the int data type.
      5. DistinctCount: The number of unique values in the field.
      6. Sum: The sum of all row values.
      7. Average: The average of all row values.
  4. (Optional) Click on Yes in the Override data type column to allow the data type for the field to be amended later. After the Aggregate table has been created, right-click on a field with his setting enabled and select “Edit Aggregate Field” to open a dialog where the data type can be changed.
  5. Click OK to add the aggregated table.

How to add an customer sales aggregated table

The following video shows how to set up an aggregate table based on customer sales and uses most of the options explained above. Additionally, the video also shows how to add lookups and data selection rules.

Aggregated table
Be the first to reply!

Reply