OBLYTECH Logo
OBLYTECH Logo

Create relations between elements of a breakdown

To create relations between elements of a breakdown, define a Breakdown Relation that uses the same breakdown on both sides and maps its records through their parent field. Choose child, parent, or sibling navigation, then configure the field mappings and test the relation in a supported analytics view.

Prepare the hierarchy before creating the relation

A breakdown relation gives readers a route through elements that already have a hierarchical connection. It does not supply the missing hierarchy in your records. Start by identifying the field that connects a record to its parent. For a location hierarchy, that field is typically Parent: a city points to its country, while the country can point to a region.

Inspect a small set of records before opening the relation form. Pick a parent, two children beneath that parent, and an element in a different branch. Write down the expected navigation between them. This gives you a test with recognizable results rather than a dashboard where any returned value appears plausible.

Also identify the breakdown source facts table and the unique identifier for its elements. For the Location breakdown, the table is Location [cmn_location], and the identifier used in the mappings is Sys ID. If you need the underlying terminology, start with how a breakdown organizes elements.

The role requirement for creating breakdown relations is pa_data_collector, pa_power_user, admin. The work also requires table knowledge and access: a pa_power_user can identify the analytical relationship, while a pa_data_collector contributes the technical understanding of the records. A pa_admin can coordinate both parts. Confirm the intended navigation with the analyst before choosing the mapping.

Create relations between elements of a breakdown

  1. Open All > Breakdowns > Breakdown Relations and select New.
  2. Set Breakdown to the breakdown that contains the hierarchy.
  3. Set Related breakdown to that same breakdown. Both fields describe elements within the same set.
  4. Set Table to the breakdown source facts table.
  5. Configure Breakdown field, Related breakdown field, and Common field for the direction you need.
  6. Use Conditions to restrict which records can appear through the relation.

Do not select the operational record table simply because the indicator measures those records. For example, a location hierarchy needs the records that represent locations. Check the breakdown source before choosing Table, then check the fields available on that table. The relationship depends on those fields identifying the elements and their parents.

Treat the direction as a separate design choice. Relations are one-way. If a reader must move down the hierarchy and then back up, create separate child and parent relations. A single record does not establish navigation in both directions. Give each relation a name that makes the intended movement clear to the person selecting it.

Map child, parent, and sibling navigation correctly

Child navigation moves from a parent to its children

For a child relation, set Breakdown field to the field that identifies the parent element. In the Location example, select Parent. Set Related breakdown field to the element identifier, Sys ID, and leave Common field empty. This configuration supports moving from a higher location to the locations directly beneath it.

The field order can look counterintuitive if you start from the label of the selected element. Check it against an actual record instead: the child carries the reference to its parent. Use that stored connection to validate your selection, rather than reversing the mapping because a field name sounds closer to the direction of travel.

Parent navigation moves from a child to its parent

For a parent relation, set Breakdown field to the element identifier and Related breakdown field to the parent reference. With Location, those choices are Sys ID and Parent. Leave Common field empty. This is the opposite mapping from the child relation and supports moving upward from a selected element.

A multilevel hierarchy can contain a record that is both a parent and a child. A country may be the parent of a city and the child of a region. Check more than the bottom level when validating upward navigation, so that the relation makes sense across the hierarchy you intend readers to explore.

Sibling navigation uses a shared parent

For a sibling or peer relation, set both Breakdown field and Related breakdown field to the unique identifier. For Location, both are Sys ID. Set Common field to Parent. The common field supplies the connection between elements that sit beneath the same parent.

Use the sibling test records you selected earlier to distinguish a peer relationship from a broader list of elements. Two city records belonging to one country provide a clearer test than unrelated locations. Keep the element in the other branch available as a comparison when reviewing the result.

Connect the relation to a Platform Analytics dashboard

Check the analytics surface and release before building the display. Zurich, Australia, and Brazil support breakdown relations on Platform Analytics indicator scorecards paired with a filter; KPI Details does not support them. The Data Visualizations application must be at its latest version. Yokohama and Xanadu describe Analytics Hub navigation instead and exclude Platform Analytics support. Include this check in your Zurich upgrade review when moving between experiences.

For a concrete parent relation, use Assignment Group for both breakdown fields and Group [sys_user_group] for Table. Name the relation Parent Group. Select SysID for Breakdown field, Parent for Related breakdown field, and no Common field. Set Conditions to [Active][Is][True], then select Update.

Next, open Platform Analytics > Library > Dashboards and select Create dashboard. Create a Next Experience dashboard in the In-line editor. Through Add new element, select Data visualization and create an Indicator scorecard. Use List for Scorecard type and Manually selected for Data > Indicator > Source definition.

Under Indicator > Add, select Number of open incidents. Under Breakdown > Add, select Assignment Group. Turn on Follow breakdown relation and choose Parent Group, then save. The indicator and breakdown provide the analytical target for the relation. For broader measurement context, see Performance Analytics indicators and breakdowns.

Add the matching filter through Add new element, then Filter > New Filter. Label it Assignment Group. Use Add source to select Group [sys_user_group] and select Apply. Under Data to filter, select Add, choose indicators with the Assignment Group breakdown, and select Apply. Save the dashboard before testing selections.

The filter supplies the selected element, and the scorecard uses the relation to find its related element. In this parent example, choosing a child assignment group should take the displayed result to its parent group. Validate that connection before extending the dashboard with additional content.

For help planning this work, see ServiceNow implementation.

Check unexpected or missing navigation results

Separate record problems from display problems. If the wrong parent appears, inspect the parent reference on the selected record and compare the two mapping fields with the chosen direction. If the relation looks correct but the dashboard does not respond, review the filter source, its Data to filter selection, and Follow breakdown relation on the scorecard.

Conditions deserve their own check. They determine which records qualify to appear as related breakdowns. An Active condition deliberately narrows the eligible records, so compare an unexpected omission with that condition before changing the hierarchy. Keep the test set small enough to inspect the underlying records individually.

For handover, record the breakdown, source table, parent field, relation direction, conditions, and tested dashboard. Include the selected element and expected destination for each test. That record lets another administrator assess a later hierarchy change without guessing what the original navigation was meant to achieve.

Questions about hierarchy navigation choices

Does Analytics Hub navigation require a collection job first?

In the Core UI Analytics Hub workflow, relation navigation becomes available after the Breakdown Relation form is submitted. Running a data collection job first is not required for those navigation options.

Are there existing relations to inspect before adding another?

Child Location and Parent Location are included examples for the Location breakdown. Sibling Group provides an example of a peer relationship. Inspect the relevant example when deciding whether another relation record is needed.

Can a Core UI breakdown widget use the hierarchy?

Yes. A Core UI breakdown widget can display parent, child, or sibling elements relative to the element selected for the breakdown dashboard. Choose the intended relationship according to the navigation the widget needs to present.

What if the navigation needs two different breakdowns?

That calls for a breakdown-to-breakdown relation. Its primary and related breakdowns differ, and a table must contain fields referencing records for both. Define that requirement separately before configuring a hierarchy within a single breakdown.