Hierarchies in charts
Last updated
Last updated
If your reports use hierarchical dimensions as Axis parameters, Analytics+ allows you to expand and collapse the hierarchy and traverse the hierarchy with drill-down and roll-up. With these features, you can focus on specific levels of the hierarchy by expanding only those levels. Let's add a date hierarchy to the axis to see this action.
When you add a hierarchy to the axis parameter, Analytics+ renders the data rolled up to the highest level of the hierarchy i.e. the root level.
A caret icon appears when you hover near the x-axis category name. Click on the icon to directly navigate to a particular level of the hierarchy. In this example, we've chosen Quarter - the chart rendered would be the same as if we add only the Quarter as the axis instead of the date hierarchy.
After you drill down, you can select a category within the hierarchy level. In this example, we have drilled down to the month level and Q4 is displayed for all 3 years. You can choose a specific year or a specific quarter from the dropdown.
We've changed the quarter from Q4 to Q2. Notice how the months change from Oct - Dec to Apr - June.
In this example, we've selected 2022. The report shows the data for 2022 only, not for all 3 years.
When the hierarchy has been fully expanded to the lowest level (using the branch icon) you will be able to expand and collapse any level of the hierarchy. You can focus on specific levels of the hierarchy by expanding only those levels.
Expand/collapse options are enabled only when Category grouping is enabled.
Navigate to Display settings > Axis > X-Axis > Category grouping to enable it for charts.
Analytics+ allows you to add hierarchies as row and column dimensions in small multiples mode.
You can also expand and collapse the hierarchies added to row and column dimensions. In the example, we have collapsed the US region and Beverages category.
Drill down: Click the icon to drill down to the next level. you can traverse the hierarchy to the lowermost level using this icon. In this chart, we've drilled down from the highest level (year) to the quarter level and then to the lowest level (month).
Roll up: Click the icon to roll up to the next level. You can traverse the hierarchy and roll up to the root level.
Fully expand: Click on the icon to fully expand the hierarchy to the lowest level. Click the icon again to roll up to the root level.