How to: |
Dynamic grouping allows you to create groups of elements based on the field data type that you select. For example, you may have a field with US state names, but no field for US regions. Using the dynamic grouping functionality, you can create groups for different regions for use in a content item without editing the data source. You create one group that combines state name values like Maine, New Hampshire, and Massachusetts into a New England group, states such as New York, New Jersey, and Pennsylvania into a Mid-Atlantic group, and so on. You can even add the extraneous, remaining values into an Other group automatically, if you do not think they fit into another defined group.
Note: The Create Group option is only available for dimension fields of non-numeric format or attribute.
You can also specify multiple, unique groupings in the same session. For example, you might want to group the data to indicate groups or products, or specific regions.
Note: If you want to exclude a specific data element from your analysis, you can use the filter functionality.
The grouping that you specify is applied and this new group then replaces the original field that you selected in the Query pane. The name that you specify when creating the group is reflected in the Query pane.
The process of dynamic grouping creates a Define field, which can then be used in other reports or charts in the same visualization. When creating a single content item, dynamic grouping also supports Auto Drill, enabling you to drill through the hierarchy of your data just like any other data field.
Note: When working with Reporting Objects, Dynamic Grouping is not supported.
WebFOCUS Designer opens in a new browser tab.
Once you select a data source, WebFOCUS Designer loads with options to create a single content item.
Note: You can use the dynamic grouping functionality on non-numeric dimension fields only.
The Create Groups dialog box displays.
Note: The fully qualified field name is displayed as the Origin Field at the bottom of the Create Groups dialog box. The display of the fully qualified field name is particularly useful when renaming or editing a group, as it identifies the data source followed by the hierarchical location of the field within a data set. For example, WF_RETAIL_LITE.WF_RETAIL_PRODUCT.BRAND.
These methods can also be used to move a value from one group to another group.
Note: If you add all values to the Other group, all groups, including the Other group, are disbanded. You must have at least one group for the Other group to be available.
Your grouped data will display as a new field in the Resources panel. If it is not immediately visible, you can use the search feature on the field list to find it. From there, you can add the grouped field to your content, as shown in the following image.
To edit the grouped field, right-click it in the Resource panel and click Edit group values.