Skip to content

Drill Down

Introduction

The Drill Down Widget in application lets you visually create and manage hierarchical structures from your dataset. This is especially useful when you need multi-level drilldowns in visualizations such as charts, pivot tables, or Vizs.

Purpose

To define a hierarchy of columns that can be used for drilldown interactions in visualizations.

Steps to create a Drill Down

  1. From the left vertical menu, select the Drill Down Widget icon.

    drill down

  2. A widget will be automatically added to the Viz canvas.

    • The Drill Hierarchy Builder panel appears on the left, and Saved Hierarchies panel on the right.

      drill down

  3. Select Dataset

    • From the Datasets dropdown, choose your dataset(e.g., ProductData).

    • Available columns will be displayed in the Available Columns panel.

      drill down

  4. Name the Hierarchy

    • In the New Hierarchy textbox, enter a name for your hierarchy (e.g., LocationHierarchy or ProductLevels).

      drill down

  5. Drag & Drop Columns

    • Drag columns from the Available Columns panel into the Drill Hierarchy Builder.

    • Drop them in top-to-bottom order to define the hierarchy (e.g., Country -> State -> City).

      drill down

  6. Save the Hierarchy

    • Click the Save Hierarchy button to save the structure.

    • Your saved hierarchy will appear under the Saved Hierarchies panel.

    • To edit a hierarchy later, click the Edit icon and update it.

      drill down

Use Cases

Defining hierarchies is fundamental for interactive data exploration. It allows users to start with a high-level overview and progressively uncover more granular details.

Use CaseHierarchy ExampleBusiness Question it Answers
Geographical AnalysisRegionCountryStateCityCompare sales performance across different regions, and then drill down to identify the top-performing cities within the best country.
Temporal (Time-Based) AnalysisYearQuarterMonthWeekWhat were our total sales in 2023? Let’s drill down to see the quarterly trend and pinpoint the best-performing month.
Product Category BreakdownCategorySub-CategoryProduct NameHow is the ‘Electronics’ category performing? Drill down to see which sub-category (e.g., ‘Laptops’ vs. ‘Smartphones’) is driving growth.
Organizational PerformanceDivisionDepartmentSales ManagerWhich division met its sales target? Drill down to see which department and then which specific manager contributed the most.
Financial ReportingAccount TypeAccount GroupLedger AccountWhat are our total operating expenses? Drill down to see the breakdown by group (e.g., ‘Personnel’, ‘Marketing’) and then to individual ledger accounts.

Example Scenario: Building Hierarchies for a Sales Dashboard

Objective

An analyst needs to build an interactive sales dashboard. They want to allow users to explore sales data by product category and by time period. To achieve this, they will create two separate hierarchies: ProductHierarchy and TimeHierarchy.

Sample Dataset (SaleData)

OrderDateYearQuarterMonthProductCategoryProductSubCategorySales
2023-01-152023Q1JanElectronicsLaptops12000
2023-02-202023Q1FebElectronicsSmartphones8500
2023-04-102023Q2AprAppliancesKitchen7000
2023-05-252023Q2MayElectronicsLaptops15000
2023-08-052023Q3AugAppliancesLaundry6500

Steps

This scenario involves creating two distinct hierarchies using the same widget.

Part 1: Creating the ProductHierarchy
  1. Add the Widget and Select Data

    • Add the Drill Down Widget to the canvas.

    • Select the SaleData.ds dataset from the dropdown.

  2. Define the First Hierarchy

    • In the New Hierarchy textbox, type ProductHierarchy.

    • From the Available Columns, drag ProductCategory into the Drill Hierarchy Builder.

    • Next, drag ProductSubCategory and drop it below ProductCategory.

      drill down

  3. Save the Hierarchy

    • Click the Save Hierarchy button.

    • ProductHierarchy will now appear in the Saved Hierarchies panel on the right.

      drill down

Part 2: Creating the TimeHierarchy
  1. Define the Second Hierarchy

    • Click on the New Hierarchy button and type TimeHierarchy in the New Hierachy textbox.

    • Drag Year into the builder.

    • Drag Quarter and drop it below Year.

    • Drag Month and drop it below Quarter.

      drill down

  2. Save the Hierarchy

    • Click the Save Hierarchy button.

    • TimeHierarchy will now also appear in the Saved Hierarchies panel.

      drill down

You have now successfully created two reusable hierarchies. The real power comes when you use them in another widget.

How to Use It

  1. You would add a Chart Widget to the canvas.

  2. Select your dataset from the Datasets dropdown (e.g., SalesData.ds).

  3. In the Chart Widget’s configuration, you would drag the saved ProductHierarchy from the Drill Down Items list and drop it onto the Category Axis field.

  4. You would drag the Sales column to the Value Axis.

    drill down

The Interactive Result:

  • Initial View (Level 1): The chart will display two bars: one for “Electronics” and one for “Appliances”, showing the total sales for each top-level category.

  • Drill Down (Level 2): If a user clicks on the “Electronics” bar, the chart will automatically update. It will now display bars for “Laptops” and “Smartphones”, showing the sales breakdown within the Electronics category.

    drill down

This drill-down capability, powered by the hierarchy you defined, allows for a rich, exploratory user experience without cluttering the initial view.

Summary

The Drill Down Widget provides a user-friendly way to define nested drilldown paths within your data visualizations. Whether for sales data, geographic data, or organizational structures, this tool simplifies hierarchical configuration without needing code.