When to use hierarchies
Use hierarchy configuration when your data has a parent-child or multi-level structure and you want to:- Click on a summary value and see the breakdown underneath
- Navigate from broad categories down to individual records
- Build dashboards that let users explore data at their own pace
Chart Interactions
Link separate charts so clicking a value on one filters the next. Ideal for step-by-step exploration across dashboard panels.
Hierarchy Charts
Show all levels in a single visualization like a TreeMap or Sunburst. Ideal for seeing the full picture at a glance.
Common examples
| Data domain | Drill-down path |
|---|---|
| Accounts | Account Group → Account → Position |
| GICS classification | Sector → Industry Group → Industry → Sub-Industry |
| Issuers | Issuer → Security |
| Geography | Country → State → City |
| Organization | Division → Department → Team |
Define a hierarchy on a VDM
Create a new hierarchy
Click Add Hierarchy and give it a name (e.g., “Account Hierarchy”) that describes the drill path.
Add levels in order
Add levels from the broadest category to the most granular detail. For each level:
- Name — a label for this level (e.g., “Account Group”)
- Column — pick from your VDM columns (e.g.,
ACCT_GROUP_CD) - Label column (optional) — if the column is a code, pick a human-readable column (e.g.,
ACCT_GROUP_NAME)
Example: Account hierarchy
| Level | Name | Column | Label column |
|---|---|---|---|
| 0 | Account Group | ACCT_GROUP_CD | ACCT_GROUP_NAME |
| 1 | Account | ACCT_CD | ACCT_NAME |
| 2 | Position | SEC_NAME | — |
Import hierarchies from a BI model
If you are importing a BI semantic model into a VDM, hierarchies defined in the model are carried over automatically during import. You do not need to recreate them manually.- Go to DataBridge → Virtual Data Marts → Import from BI
- Select the BI model and client
- The import translates the model’s hierarchy definitions into VDM hierarchy configuration
- Review the imported hierarchies in the Hierarchy Configuration section
- Save and publish
Use hierarchies in dashboards
Once a hierarchy is defined on a VDM, you can use it when building experiments and dashboards. There are two approaches depending on how you want users to interact with the data.Approach 1: Linked charts (progressive drill-down)
Create separate charts for each level and link them using chart interactions. When a user clicks a value on one chart, the next chart filters to show the details.Create charts for each level
In your experiment, create one chart per hierarchy level:
- Chart 1: Bar chart grouped by
ACCT_GROUP_CD, showingSUM of MKT_VAL - Chart 2: Bar chart grouped by
ACCT_CD, showingSUM of MKT_VAL - Chart 3: Table grouped by
SEC_NAME, showingMKT_VALandQTY
Link the charts
On Chart 2, open the chart menu and set Interaction to Chart 1.
On Chart 3, set Interaction to Chart 2.
Approach 2: Hierarchy chart (all levels in one visualization)
Use a chart type that natively renders hierarchical data — the hierarchy levels are all visible at once inside a single chart.Create a hierarchy chart
Add a chart and choose a hierarchy-capable type such as TreeMap, Sunburst, or Pack.
Set multiple dimensions
Add your hierarchy columns as dimensions in order. For example:
- Dimension 1:
ACCT_GROUP_CD - Dimension 2:
ACCT_CD
SUM of MKT_VAL).Which approach to choose
| Consideration | Linked charts | Hierarchy chart |
|---|---|---|
| Number of levels | Any (2, 3, 4+) | Best for 2 levels |
| User interaction | Click to progressively reveal | All levels visible at once |
| Dashboard layout | Multiple panels | Single panel |
| Best for | Detailed exploration | Overview and proportions |
Supported hierarchy chart types
These chart types display multi-level data within a single visualization:| Chart type | Best for |
|---|---|
| TreeMap | Proportional area comparison across levels |
| Sunburst | Radial breakdown showing part-to-whole relationships |
| Pack | Bubble nesting to show containment |
| Voronoi TreeMap | Space-efficient alternative to TreeMap |
| Tree | Organizational or structural relationships |
| Partition (horizontal/vertical) | Level-by-level breakdown in a linear layout |
| Grouped Column | Side-by-side comparison across 2-3 levels |
Import via SDK
When creating dashboards through the SDK, use hierarchy chart types and order yourdimensions array from broadest to most granular: