Skip to main content

Maps

Introduction

A map attribute maps the values of another attribute to new values. It can be used to group values together. Also, maps can be used to give values to a specific color.

Creating a map

Follow these steps to create a map.

StepAction
1Go to Data tab in your app development environment.
2In the table list, click on the table in which you want to create an expression. The table items are displayed in the table item list.
3Right click on the data source attribute for which you want to create a map and select New map…. The Edit Map dialog is displayed. See illustration below.
4Click on OK.

Edit Map dialog

docs image

Below is a description of the elements of the Edit Map dialog.

ElementDescription
General informationContains basic information about the expression: • NameID • The Table in which the new map will be placed • The Case sensitive checkbox determines whether the matching of values is case sensitive or not.
AttributeThe data source attribute of which the value is used as its input for the map.
Categories - FieldsDisplays the categories within the map. The fields containing the names of the categories and the values they comprise are displayed.
Categories - PropertiesThe properties of a specific category are displayed. • Frequency indicates how many records are currently grouped within this category. (When changing the values in this map, these frequencies will automatically update.) • Color enables you to assign specific colors to categories when this map is used in a dashboard. • Icon enables you to pick an image to use as an icon for that category.
ADVANCED...Displays the Advanced Settings dialog where you can define display settings or pick color palettes.
REBUILD...Enables you to rebuild the map.

You can add the map as a level in a chart. See illustration below.

docs image

The chart has two levels. Since the map is based on the same attribute as the other level, both levels display the same result. The map can be configured.

Renaming a category

Follow these steps to change the name of a category in the map.

StepAction
1Right click on a map attribute in the table items list and select Edit....
2Right click on the category you want to rename and select Rename.
3Enter a new name for the category and click on OK.
4Click on OK to save the changes made to the map.

See illustration below for an example.

docs image

Moving values to other categories

Follow these steps to move values to other categories.

StepAction
1Right click on a map attribute in the table items list and select Edit....
2Drag and drop the value you want to move onto the new category.
3Click on OK.

See animation below.

docs image

Deleting a category

Follow these steps to delete a category.

StepAction
1Right click on a the map attribute for which you want to delete a value in the table items list and select Edit....
2Right click on the category you want to delete and select Delete.
3Click on OK.

Adding values to a category

Follow these steps to add a value to a category.

StepAction
1Right click on a the map attribute in the table items list and select Edit....
2Right click on the category for you want to add a value and select Add value - Text.
3Right click on New value and select Rename.
4Enter the name of an existing value and click on OK.
5Click on OK to save the changes to the map.

See animation below for an example.

docs image

Changing the color of a category

Follow these steps to change the color of a category.

StepAction
1Right click on a the map attribute in the table items list and select Edit....
2Click on the Custom label in the Color column of the category for which you want to change the color and select Edit....
3Select the desired color and click on OK.
4Click on OK to save the changes to the map.
5Go to the Chart tab.
6Drag the map attribute from the Rows level to the Stacked level.

See animation below for an example.

docs image