Skip to main content

Reporting fields

Reporting fields are the named fields that people select when they build a view, such as a "Total Cost" measure or a "Customer" dimension. You add them on the Fields tab of a cube, on top of its source fields. This page shows how to add a field and how to set it up.

A field is a dimension (what you group by) or a measure (a number you aggregate). See The semantic model.

The Fields tab of a cube, with the filters and Add field.
The Fields tab of a cube, with the filters and Add field.

Add a field​

Fields appear once the cube is published.

  1. Open Cubes, select the cube, and open the Fields tab.
  2. Select Add field and choose Add Measure or Add Dimension.
  3. For a measure, choose one of the Base measures, which read source data directly. Search narrows the list. You add calculated measures in a view: see Building measures. For a dimension, choose a source field. Hypermeter selects the text, number, or true/false method for you.
  4. Fill in the required inputs. The form marks a required input that is empty and a number or interval that is not valid.
  5. Check the display name and the description on the field overview. Hypermeter suggests a display title.
  6. Open a row of the overview to change its settings: Calculation for a measure, Source or Method for a dimension, then Formatting, Status display, and Scope.
  7. Save. Hypermeter checks the field.

The return arrow in the editor header takes you one step back and keeps your draft. You can change the display title later without breaking saved views.

For what a measure can calculate, see Building measures.

Add several unmapped source fields​

When source fields have no reporting field yet, the Fields tab shows Add N unmapped fields.

  1. Select Add N unmapped fields.
  2. For each field, review the Display title, the Field type (dimension or measure), and the Preset. Change what does not match the meaning of the field. For example, choose an average for average statistics and a sum for totals.
  3. Remove the source fields that must not become reporting fields yet.
  4. Select Add N fields.

Hypermeter creates the fields as one change. If one field is not valid or conflicts with an existing field, no field is created and the dialog stays open with the error.

To set a description, a number format, a status display, or a reference to another measure, select the field afterward.

Dimensions​

A dimension has a type: time, string, number, or boolean. Reports use a time dimension for the time grain and the date range.

A field has an identifier and a separate display title. The source column Primary Type can show as Primary Type in a report while its identifier is primary_type. You do not need to rename the source column or publish the workflow again.

You can mark the dimension that uniquely identifies a row as the primary key of the cube.

Associate a friendly dimension with a stable identity​

An owner can connect a recognizable dimension, such as Market, to a stable dimension, such as Market ID.

  1. Open the friendly dimension. It must be a canonical field.
  2. Select its Identity row.
  3. Select the stable dimension from the same cube.
  4. Save.

You can also set this under Readable names while you link cubes.

  • Both fields must be canonical, direct, public, filterable dimensions that read a source column.
  • Remove the association before you select another identity, or before you change the source or the type of either field. Titles, descriptions, and member names can change freely.
  • The friendly field stays visible in reports. No ID column is added to the view.
  • If the viewer cannot use the identity field, the report still shows the friendly value, but related views for that value are not available.

Public fields and hidden helpers​

A public field appears in the field list for people who build reports. A hidden helper stays out of the list and only feeds other fields, for example the part and the whole behind a percent of total. Make public only the fields that people must select.

Display settings​

These settings change how a field reads, not what it calculates. Queries, filters, sorting, grouping, and exports keep the raw number or category.

SettingForWhat it does
Value meaningMeasuresNumber, count, ratio, fixed currency, or currency bound to a dimension. A measure that reads a source field inherits its meaning. A field cannot relabel EUR as USD.
Presentation defaultsNumeric fieldsFraction digits and negative style. They do not set the currency code.
Value bandsNumeric measuresRanges with a label, a tone, and an optional icon. Each range includes its lower limit and excludes its upper limit.
Category displayText, number, and true/false dimensionsA readable label, a tone, and an icon for each exact value
  • Value bands are not available for a currency measure that takes its code from a dimension. Convert the measure to a fixed currency, or publish a status dimension instead.
  • A fallback for values without a band or label is for display only. People cannot filter on it.
  • You can change labels, tones, icons, values, and thresholds without breaking the saved settings of a visualization.

For monetary fields, see Currency values.

Scope​

A field belongs to the whole cube, to one space, or to one view. See Field scopes and promotion. To add a field while you build a view, see Working with fields in a view.