Defining fields and groups for Qlik Answers | Qlik Cloud Help
Skip to main content Skip to complementary content

Defining fields and groups for Qlik Answers

Last updated: 10/7/2026

Fields and groups are the primary component of logical models in business logic. By defining the groups to which your fields and master items belong, you can define how Qlik Answers should use them.

You define how business logic should handle fields and groups in the Fields & master items section of AI optimization. Fields and master items can be grouped together to indicate a relationship in Qlik Answers analysis. For each item in a group, you can define how Qlik Answers should treat it in analysis.

Groups enable you to organize fields and master items into related conceptual groupings. For example, you can group all the fields related to customers in a single group, regardless of which tables in the data model from which they are loaded. Qlik Answers can use this information to determine which fields to show together in visualizations. There are three kinds of groups:

  • Dimension: A dimension group commonly consists of fields that are classified as dimensions. Dimension groups can also contain fields classified as measures or dates.
  • Measure: A measure group consists of related measure fields. Only measures can belong to a measure group.
  • Calendar: A calendar group contains a time dimension in your logical model. Calendar groups can only contain dimensions and are expected to have at least one temporal fields (such as date, timestamp, or year). Calendar groups are useful if you have separate fields defining your calendar, such as year, month, and day. If you can also group other data-related fields, such as fiscal quarter or fiscal year.

Fields and master items not included in groups are not used by Qlik Answers. Fields new to the data model are ungrouped by default until added to a group.

By default, fields and master items are ordered by group. If you turn this off, an additional column, In group, is added to the table.

In addition to defining groups, you can also define the properties of individual fields and master items belonging to your groups.

video thumbnail

Creating groups

Once you create a group, the group type cannot be changed. You can rename the group and add or remove fields from the group. Groups can also be deleted. Deleting a group ungroups all items in the group.

To edit an existing group, click Edit in the group row or after the group name in the In group column.

  1. Click Create group.
  2. Enter a group name.
  3. Select a group type.
  4. Add fields to the group from Available fields.
  5. Click Create.

Defining fields and master items

Fields & groups consists of a table containing fields and master items from your application, along with the groups to which they belong. You can edit the properties of your fields and master items by adjusting the column value in that item's row. For additional options, you can click More in the row. You can:

  • Move item: Move the item to a different group.
  • Create behavior: Create a behavior for the group to which the current item belongs.
  • Ungroup: Remove the item from its current group. Ungrouped items are excluded from Qlik Answers. Ungrouping can also be used to remove old fields that were removed from the data model, but are still present in the semantic model.

You can also select multiple rows using the row checkboxes to make the same changes to multiple items. When selected in this way, properties settings and options are available above the table.

Field and master item properties

The table is divided into the following columns:

  • Name
  • Group
  • Visibility
  • Classification
  • Data value lookup
  • Default aggregation

Name lists the field names. Group lists the group name to which the field belongs. The following section outlines the different values and settings of the other fields. You can set which columns display in the table by clicking Set columns.

Visibility

Visibility controls if an item is available in Qlik Answers. There are two possible values:

  • Visible: The item is available for use in Qlik Answers.
  • Hidden: The item is not available for use in Qlik Answers. Hidden fields should not be available for data value lookup.

You can hide all hidden items in Field & groups by selecting Show visible only.

Tip noteVisibility is one of the strongest tools for improving answer quality. More fields can create noise, so hiding fields that are not necessary for analysis helps Qlik Answers focus on the right information and make better field selection decisions during evaluation and runtime.

Classification

Classification defines the default role that attribute can play in an analysis. The following types can be used to classify fields and groups:

  • dimension: A field that is only to be used as a dimension
  • measure: A field that is to only be used as a measure.
  • boolean: A binary dimension.
  • date: A temporal dimension containing dates.
  • timestamp : A temporal field containing timestamps.
  • year: A temporal dimension containing year data.
  • week: A temporal dimension containing week data.
  • quarter: A temporal dimension containing quarter data.
  • month: A temporal dimension containing month data.
  • weekDay: A temporal dimension containing data for the day of the week, either short form (Mon., Tues.), long form (Monday, Tuesday), or a number between 1-7.
  • monthDay: A temporal dimension containing a number between 1-31 indicating the day of the month.
  • yearDay: A temporal dimension containing a number for the day of the year (between 1-366).
  • hour: A temporal dimension containing hour data.
  • email: A dimension containing email addresses.
  • address: A dimension containing addresses.
  • country: A dimension containing country names.
  • stateProvince: A dimension representing first-level administrative areas, such as states and provinces.
  • city: A dimension representing cities.
  • geoPoint: A dimension containing geographic point data.
  • geoPolygon: A dimension containing geographic polygon data
  • geographical: A dimension representing a geographic location, such as country or region.
  • postalCode: A dimension containing postal codes.
  • longitude: A dimension containing longitude data.
  • latitude: A dimension containing latitude data.
  • percentage: A measure field representing percentage values such as employment rate or inflation.
  • monetary: A monetary measure such as revenue, cost, or salary.
  • ordinal: A dimension whose values have inherent order.
  • temporal: A time-related dimension.

You may have fields that might be considered a dimension in one question and a measure in another question. As a best practice, it is recommended to create a second field or master item for the alternate use case of the field.

Data value lookup

Data value lookup controls whether or not Qlik Answers can look up values from fields when a user asks a natural language question.

Reducing the number of fields that have data value lookup enabled can help you avoid false positive results and to reduce the time to generate results. For example, you may have three fields containing names in your data model: First Name, Last Name, and Full Name. If Data value lookup was enabled for all three fields, users might get confusing results from all three fields if they search for `Drew`.

Information note

Data value lookup should be disabled for measures and hidden fields.

Default aggregation

Default aggregation sets the standard aggregation for measures in Qlik Answers. The following aggregations can be used:

  • sum
  • avg
  • min
  • max
  • count
  • countDistinct

When field has a default aggregation, Qlik Answers always applies that aggregation when using it as a measure.

Default aggregations cannot be assigned to master items.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!