Skip to content

Commit

Permalink
Merge pull request #12911 from eva-lucas/uuf-drillthrough
Browse files Browse the repository at this point in the history
(UUF) Update article on drillthrough in Power BI
  • Loading branch information
JamesJBarnett authored Jan 24, 2025
2 parents a9c9a47 + 77f1992 commit 45d9a1b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 25 deletions.
49 changes: 24 additions & 25 deletions powerbi-docs/create-reports/desktop-drillthrough.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
---
title: Set up drillthrough in Power BI reports
description: Learn how to use drillthrough to drill down into data, on a new report page, in Power BI reports
description: Learn how to apply drillthrough in Power BI reports and let users drill down into data on a new report page
author: maggiesMSFT
ms.author: maggies
ms.reviewer: ''
ms.service: powerbi
ms.subservice: pbi-reports-dashboards
ms.topic: how-to
ms.date: 03/05/2024
ms.date: 01/23/2025
ms.custom: "https://github.com/microsoft/powerbi-desktop-samples/blob/main/Sample%20Reports/Sales%20%26%20Returns%20Sample%20v201912.pbix"
LocalizationGroup: Create reports
#customer intent: As a Power BI user, I want to set up drillthrough in my reports so that I can provide detailed, context-specific information to my report readers.
---
# Set up drillthrough in Power BI reports

[!INCLUDE [applies-yes-desktop-yes-service](../includes/applies-yes-desktop-yes-service.md)]

With *drillthrough* in Power BI reports, you can create a destination *target* page in your report that focuses on a specific entity such as a supplier, customer, or manufacturer. When your report readers right-click a data point in other *source* report pages, they drill through to the target page to get details that are filtered to that context. You can set up drillthrough in your reports in Power BI Desktop or the Power BI service.
With *drillthrough* in Power BI reports, you can create a destination *target* page in your report that focuses on a specific entity such as a supplier, customer, or manufacturer. When your report readers right-click a data point in other *source* report pages, they drill through to the target page to get details that are filtered to that context. You can set up drillthrough in your reports in Power BI Desktop or the Power BI service.

Want to investigate this report yourself? Open this [GitHub repo for Power BI Desktop samples](https://github.com/microsoft/powerbi-desktop-samples/blob/main/Sample%20Reports/Sales%20%26%20Returns%20Sample%20v201912.pbix). Then select **Download** to download the Sales & Returns sample .pbix file to your computer. This visual is on the Returns page of the report.
Want to investigate this report yourself? Open this [GitHub repo for Power BI Desktop samples](https://github.com/microsoft/powerbi-desktop-samples/blob/main/Sample%20Reports/Sales%20%26%20Returns%20Sample%20v201912.pbix). Then select **Download** to download the Sales & Returns Sample .pbix file to your computer. This visual is on the Returns page of the report.

![Screenshot of Using drillthrough.](media/desktop-drillthrough/power-bi-drill-through-right-click.png)

Expand All @@ -28,24 +29,24 @@ Here are some articles explaining other ways to use drillthrough.

## Set up the drillthrough target page

1. To set up drillthrough, create a *target report page* that has the visuals you want for the type of entity that you're going to provide drillthrough for.
1. To set up drillthrough, create a *target report page* that has the visuals you want for the type of entity that you're going to provide drillthrough for.

For example, suppose you want to provide drillthrough for manufacturers. You might create a drillthrough target page with visuals that show total sales, total units shipped, sales by category, and so on. That way, when you drill through to that page, the visuals are specific to the manufacturer you selected.

2. On that drillthrough target page, select **Build a visual** to open the **Format** pane, and in the **Page information** section:
2. On the **Visualizations** pane for that drillthrough target page, select **Build visual**. Then, under **Drill through**:

- Select the **Page type** > **Drillthrough**.
- Turn **Keep all filters** to **On**.
- In **Drill through from**, select the field that you want to filter this page.
- In **Drill through when**, select **Used as category**.
- Set **Keep all filters** to **On**.
- In **Add drill-through fields here**, add the field that you want by dragging it from the Data pane.
- In the expanded section for the added field, under **Allow drillthrough when:**, select **Used as category**.

![Screenshot of Page information in the Format pane.](media/desktop-drillthrough/drillthrough-add-fields-here.png)
![Screenshot of drillthrough option in the Visualization pane's Build visual tab.](media/desktop-drillthrough/drillthrough-add-fields-here.png)

When you add a field to the **Drillthrough filters** well, Power BI automatically creates a *back* button visual. That visual becomes a button in published reports. Users who view your report in the Power BI service use this button on the target page to get back to the original source report page from which they came.
When you add a field to the **Drill through** well, Power BI automatically creates a *back* button visual. That visual becomes a button in published reports. Users who view your report in the Power BI service use this button on the target page to get back to the original source report page from which they came.

![Screenshot of Drillthrough image.](media/desktop-drillthrough/drillthrough-03.png)
![Screenshot of Drillthrough image.](media/desktop-drillthrough/drillthrough-03.png)

## Use your own image for a back button

## Use your own image for a back button
Because the back button is an image, you can replace that image with any image you want. It still operates as a back button so that report consumers can go back to the original source page. You can only add your own images in Power BI Desktop, not in the Power BI service.

To use your own image for a back button, follow these steps:
Expand All @@ -56,37 +57,35 @@ To use your own image for a back button, follow these steps:

![Screenshot of Load image and set Type to Back.](media/desktop-drillthrough/drillthrough-create-back-button.png)

Now users can right-click a data point on the other source pages in your report, and get a context menu that supports drillthrough to that target page.
Now users can right-click a data point on the other source pages in your report and get a context menu that supports drillthrough to that target page.

![Screenshot of Drillthrough menu.](media/desktop-drillthrough/drillthrough-04.png)
![Screenshot of Drillthrough menu.](media/desktop-drillthrough/drillthrough-04.png)

When report readers choose to drill through, the target page is filtered to show information about the data point they right-clicked on. For example, suppose you right-click a data point about Contoso, a manufacturer, and select **Drill through**. The drillthrough page they go to is filtered to Contoso.
When report readers choose to drill through, the target page is filtered to show information about the data point they right-clicked on. For example, suppose you right-click a data point about Contoso, a manufacturer, and select **Drill through**. The drillthrough page they go to is filtered to Contoso.

## Pass all filters in drillthrough

You can set up drillthrough to pass all applied filters to the drillthrough target page. For example, you can select only a certain category of products and the visuals filtered to that category, and then select drillthrough on a source. You might be interested in what the drillthrough target page would look like with all those filters applied.

To keep all applied filters, go to the destination page. In the **Drillthrough** section of the **Visualizations** pane, set **Keep all filters** to **On**.
To keep all applied filters, go to the destination page. In the **Visualizations** pane, select **Build visual**. Then, under **Drill through**, set **Keep all filters** to **On**.

When you then drill through on a visual on a source page, the temporary filters that you applied to the source visual are also applied to the drillthrough target page. In the **Drillthrough** section of the **Visualization** pane, those transient filters are shown in italics.
When you then drill through on a visual on a source page, the temporary filters that you applied to the source visual are also applied to the drillthrough target page. On the **Filters** pane of the published report, those transient filters are shown in italics.

![Screenshot of Transient filters in italics.](media/desktop-drillthrough/drillthrough-temporary-filters-italics.png)

Although you could do this with tooltips pages, that would be an odd experience because the tooltip wouldn't appear to be working properly. For this reason, we don't recommend doing so with tooltips.

## Add a measure to drillthrough

Besides passing all filters to the drillthrough target page, you can also add a measure or a summarized numeric column to the drillthrough area. Drag the drillthrough field to the **Drillthrough** card on the drillthrough target page to apply it.

![Screenshot of Add a measure to drillthrough.](media/desktop-drillthrough/drillthrough-summarized-measure.png)
Besides passing all filters to the drillthrough target page, you can also add a measure or a summarized numeric column to the drillthrough area. On the drillthrough target page, drag the drillthrough field to the **Drill through** well in the **Visualizations** pane's **Build visual** tab to apply it.

When you add a measure or summarized numeric column, you can drill through to the page when the field is used in the *Value* area of a visual.
When you add a measure or summarized numeric column, you can drill through to the page when the field is used in the *Values* area of a visual.

That's all there is to setting up drillthrough in your reports. It's a great way to get an expanded view of the entity information that you selected for your drillthrough filter.

## Related content

You might also be interested in the following articles:

* [Use cross-report drillthrough in Power BI reports](desktop-cross-report-drill-through.md)
* [Using slicers Power BI Desktop](../visuals/power-bi-visualization-slicers.md)
- [Use cross-report drillthrough in Power BI reports](desktop-cross-report-drill-through.md)
- [Using slicers Power BI Desktop](../visuals/power-bi-visualization-slicers.md)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.

0 comments on commit 45d9a1b

Please sign in to comment.