Within Adventure Works, your manager is particularly pleased with the geographic possibilities of Power BI. However, it is not very useful to repeat all the geographic background information about a region in every report. Ideally, she would like to be able to “click through” to all information about that country in the case of an outlier in sales in a certain country, for example. For example, the trend in sales in recent years, the number of branches in that country, etc.
This “clicking through” is called drillthrough in a BI tool. In module 3 we already looked at the drilldown. The drillthrough basically means that you take a closer look at a number on another page or in another report. This way you can easily see the context - for example of the sales within a certain country. Below is an example as it will work at the end of the module (so you can see how a drillthrough works).
Notice that you will not yet see this result if you start this lab, this is a preview of what you will achieve at the end
If you want to enable a drillthrough within a report, you must arrange the following:
Country Region Name
.To top it off, you can now hide the Country Details page (right click on the tab, choose Hide Page). People viewing your report won’t be able to see this page directly.
Now try to create a second drillthrough page “Product Category Details” where you list all data within a product category. Filter based on the Product Subcategory Name field (table Product Subcategory). Display the following:
Each point has an extra challenge - you don’t have to complete it. However, if everything comes easily to you and you want to push the boundaries of Power BI a little more, give it a shot!
If your drillthrough page is working correctly, you should now be able to drillthrough to “Product Category Details” from page “Product Sales”
Drillthrough is also possible between multiple reports: you can then give the data more depth from a different angle in another report.
To get Drillthrough between multiple reports working we need (at least) two reports:
Now first create a new report via File, New that connects to the AdventureWorks dataset in your own workspace and save it under the name module-4-drillthrough-report.
In this new report, create a drillthrough filter per Year (table Date, in the hierarchy Calendar). Note that you set here that you should use Year as category:
You can then choose a year in the list under this setting that you want to display now (in fact you filter the data on “only the dates of year X”). As soon as you land on this report via a drillthrough, this filter is replaced by the year with which you perform the drillthrough. However, adding this filter will give you a better sense of what the numbers would look like on a drillthrough of (say) 2012.
Then fill the report with insights over a year:
Then set up the drillthrough reporting:
Publish the report, and test whether the drillthrough works across reports in the Power BI Portal.
By default, the drillthrough is titled Page1 [name-of-source-report]
. Make sure this is replaced by a meaningful name.
Here’s the endpoint of this lab: 04-01-Solution.pbit en 04-02-Solution.pbit
Here is a Walkthrough video
The next module is Module 5: Self-service reporting. We start with Loading CSV files. Below is a complete overview of all available modules: