Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Important: In Excel for Microsoft 365 and Excel 2021, Power View is removed on October 12, 2021. As an alternative, you can use the interactive visual experience provided by Power BI Desktop, which you can download for free. You can also easily Import Excel workbooks into Power BI Desktop

Add drill up/drill down to a chart or matrix in Power View so it shows just one level at a time. Report readers drill down to see details or drill up for summary data. To add drill up/drill down to a matrix or chart, it needs a hierarchy—either a hierarchy in the Data Model or a hierarchy you create in Power View.

Videos about drill-down

Your browser does not support video. Install Microsoft Silverlight, Adobe Flash Player, or Internet Explorer 9.

This video shows using a hierarchy that is in the data model already.

Your browser does not support video. Install Microsoft Silverlight, Adobe Flash Player, or Internet Explorer 9.

This video shows creating a hierarchy in Power View to use for drill up/drill down.

Add drill up/drill down using an existing hierarchy

This example explains adding drill up/drill down to a matrix. Drill up/drill down can also be added to bar, column, and pie charts.

The nice thing about having a hierarchy that already exists in the data model is that you can use it over and over in lots of Power View sheets and reports.

  1. Create a visualization using an existing hierarchy. Hierarchies in the field list have an arrow for expanding and collapsing the hierarchy components. Clicking the hierarchy adds all of the component fields to the visualization as a table.

    Power View Hierarchy in data model

  2. Convert the table to a matrix or chart. From the Design tab > Switch Visualization > Matrix.

  3. To enable drill-down, collapse the matrix. From the Design tab > Show Levels > Enable Drill Down One Level at a Time.

    Power View Drill levels

  4. Double click a top-level hierarchy field. For example, in a Sports-Disciplines-Events hierarchy, click the sport of Aquatics. This drills down to the next level in my hierarchy and displays the four events that make up the sport of Aquatics: Diving, Swimming, Synchronized S., and Water polo.

    Power View Drill arrows

  5. Drill down further by clicking one of the fields. Clicking Synchronized S. drills down to the Events level in my hierarchy and displays duet, solo, and team.

  6. Drill up by clicking the up arrow.

Top of Page

Create a hierarchy in Power View and use it to drill up/drill down

This example explains adding drill up/drill down to a bar chart. Drill up/drill down can also be added to matrices, column charts, and pie charts.

In order to drill down/drill up you need a hierarchy. In the previous example you used an existing hierarchy. In this example, you’ll create an ad-hoc hierarchy in Power View. The hierarchy need not be “logical”; it can be any fields that you want to drill down to.

Create a table using fields that you want to be able to collapse and drill down/drill up.

You can manually create the same hierarchy you used in the previous example.

From the Events table, select Sport.

Note: The Sport field appears twice in the Events table – once on its own and again as part of the SDE hierarchy. To add Sport to the table, you can select either checkbox.

From the Disciplines table, select Discipline.

From the Events table, select Event.

Add a value field to your table. For example, Count of Medal.

Power View Drill table

Convert the table into a chart or matrix. From the Design tab > Switch Visualization > Bar Chart > Stacked Bar.

In the Power View Fields layout area, ensure that the Axis fields are in the order you desire. In this case, Sport-Discipline-Event.

Power View Drill down Axis field

Double click a bar. For example, clicking the Aquatics bar drills down to the next level in my hierarchy and displays the four events that make up the sport of Aquatics: Diving, Swimming, Synchronized S., and Water polo.

Power View Drill down adhoc

Drill down further by double clicking one of the fields. Double-clicking Synchronized S. drills down to the Events level in my hierarchy and displays duet, solo, and team.

Drill up by clicking the up arrow in the top right corner of the visualization

Top of Page

In a matrix

When you have a matrix with multiple fields in the rows or columns, you can set it to show levels, and that collapses the matrix to show only the top, or outermost, level. Double-clicking one value in that level expands the matrix to show the values under that one in the hierarchy. For example, in a hierarchy consisting of the fields Continent > Country/Region > State/Province > City, if you set Power View to show levels then you see only continent names in the matrix. Double-clicking a continent—say, Asia —shows the countries/regions in Asia, with an arrow to go back to continents. Double-clicking a country—say, India—shows the states/provinces of India, again with an arrow to go back up to countries/regions.

Power View matrix with a drill-up arrow from State/Province to Country/Region

Top of Page

In a bar, column, or pie chart

Bar, column, and pie charts work the same way. If a chart has multiple fields in the Axis box, you set it to show levels and you see only one level at a time, starting with the top level. Going back to the Continents example, if you double-click the Europe bar in a Continents bar chart…

Power View column chart with drill-down capability

You see the bars for the countries/regions in Europe only, with an arrow to take you back up.

Power View column chart drilled down to country/region in Europe

Top of Page

See Also

Hierarchies in Power Pivot

Working with a matrix in Power View

Power View: Explore, visualize, and present your data

Power View and Power Pivot videos

Tutorial: PivotTable data analysis using a Data Model in Excel 2013

Top of Page

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×