Sub topic 14
Troubleshooting common problems
This chapter helps you find out why a drill or tooltip feature does not appear or does not behave as expected. It assumes you can already build a hierarchy, set up a drill-through page, and make a report page tooltip. It also assumes you can read a simple DAX measure and know how filter context decides what a visual shows.
A method for diagnosing problems
Almost every failure in these three features comes from one of four causes:
- The visual does not offer the feature, because of its type or its fields.
- The source and target do not share a field, so no filter can pass.
- A setting is off, such as drill mode, the tooltip toggle, or an interaction.
- A measure behaves differently from what you expect at that level of context.
Work through them in order, because each step is cheaper to check than the next.
Drill-down problems
No drill arrows on the visual
The drill arrows appear only when the visual can drill. Check these causes:
- The field well holds a single column. Drill-down needs two or more levels in the same well, such as Category, Subcategory, and Product Name.
- The visual type does not support drilling. Cards and gauges have no axis to drill. Tables do not drill either, and a matrix uses its own row and column expand controls.
- The visual's header is hidden. Hover over the visual and check that header icons are enabled in the formatting options.
- Your date field is not showing as a hierarchy. If you picked the date column rather than the date hierarchy, you get one flat level. Choose the hierarchy entry, or the Date Hierarchy from the field's dropdown, if auto date/time is on.
Drill-down shows the wrong level
If the visual starts at Subcategory instead of Category, someone has drilled and saved the report in that state. Use drill-up, or the Expand to next level control, to get back to the top. Also check the order of the fields in the well, because the top field is the first level.
A measure gives odd values at some levels
A measure that uses ISINSCOPE returns a different result for each level. That is intended. But a card has no hierarchy, so the Level Label measure from earlier returns "Total" there. Test such a measure inside the visual you are drilling, not in a standalone card.
Drill-through problems
"Drill through" is missing or greyed out in the right-click menu
This is the most common drill-through complaint. Check each of these:
- The visual lacks the field. The right-click menu offers a target only if the visual's data point carries the field in the target page's Drill-through well. If the target page filters on
Customer[Customer Name]and your chart shows onlyCustomer[Country], no option appears. Add the column to the visual, or add a drill-through field that the visual does carry. - The visual has only measures. A card with just
[Total Sales]has no data point with a column value to pass on. - The data point is a total. The total row of a table or matrix has no single value to filter by.
- The target page has no drill-through field. The page is an ordinary page until a field sits in its Drill-through well.
- You are in an unsupported surface. Some visuals and custom visuals do not offer drill-through. Test with a standard bar chart to rule out the visual.
The target page shows unfiltered data
If you open the drill-through page directly from the page tabs, nothing was selected, so no filter applies. Report authors often mistake this for a bug. Design for it with a fallback, like the earlier title measure:
Drill-through Title =
"Orders for " & SELECTEDVALUE ( Customer[Customer Name], "multiple customers" )If the title reads "multiple customers" after a drill, the filter did not arrive. If it reads "multiple customers" when you open the page directly, the page is working correctly.
The target page shows blank or the wrong numbers
The filter reached the page but the visuals ignore it. Common reasons:
- The visuals on the target page use fields from a table with no active relationship to the table that holds the drill-through field.
- A visual on the target page has Edit interactions or a page-level filter that removes the rows.
- The relationship filters in the wrong direction. A dimension-to-fact single direction relationship filters the fact table, but not the other way.
- Keep all filters is set differently from what you expect. When it is on, the filters from the source page, including slicers, also pass to the target. When it is off, only the drill-through field values pass. Compare the Filters pane on the target page after a drill to see exactly which filters arrived.
The back button does nothing
The back button works only after you arrive through a drill-through. In Power BI Desktop, a button action needs Ctrl+click to run. If the button is on a page that you opened from the tabs, there is no earlier page to go back to. Also check that the button's action type is set to Back, not to Page navigation.
Cross-report drill-through does not appear
Cross-report drill-through needs the source and target reports to be in the Power BI service, usually in the same workspace. You also need to enable the target report's drill-through page as a cross-report target and allow the source report to use targets from other reports in its settings. If your drill-through options do not show a target report, check these settings and your permissions on the target report. Test with a user who has access to both reports.
Tooltip problems
The report page tooltip does not appear
Work through this checklist:
- The tooltip page has Allow use as tooltip turned on in Page information.
- The visual's Tooltip formatting option has Type set to Report page and the Page is chosen. If it is on Default, you get the standard tooltip.
- The visual's Tooltips toggle is on.
- The page size is set to Tooltip, or a custom size small enough to show near the cursor. A full-size page is cropped or scaled oddly.
The tooltip shows the same data for every point
The tooltip page filters only by fields that match its Tooltip well. If the hovered bar is a Product and the tooltip page has only Product[Category] in its Tooltip well, then the tooltip filters by category, not by product. Add the column that the visual uses, or add the field that you want to filter on.
The default tooltip lacks the field you wanted
The default tooltip shows the fields in the visual itself. To add more, drop columns or measures into the Tooltips field well. Measures such as Sales YoY % show up there directly.
The measure in the tooltip is blank
A time intelligence measure like this needs a proper date table:
Sales PY =
CALCULATE ( [Total Sales], SAMEPERIODLASTYEAR ( 'Date'[Date] ) )
Sales YoY % =
DIVIDE ( [Total Sales] - [Sales PY], [Sales PY] )If Sales PY is blank for every point, check that 'Date'[Date] comes from a date table with continuous dates, that it is related to the fact table, and that the visual uses the date table's column, not a date column from the fact table. DIVIDE returns blank when the prior-year value is zero or blank, which is correct for the first year in your data.
Tooltips do not work on touch devices
On a phone or tablet there is no hover. Users must tap and hold a data point to see the tooltip. Do not put information in a tooltip that readers cannot get any other way.
Testing a measure's context
When a measure misbehaves, find out what the filter context looks like. This debug measure reports how many customers are in context and whether the title measure would find a single one:
Debug Customer Context =
VAR CustomerCount = COUNTROWS ( VALUES ( Customer[Customer Name] ) )
RETURN
CustomerCount & " customer(s); single = "
& IF ( HASONEVALUE ( Customer[Customer Name] ), "yes", "no" )Put it in a card on the drill-through page, then drill from a chart. After a successful drill you should see 1 customer(s); single = yes. A different count tells you the filter did not pass, or that a second filter widened it. Delete the measure before you publish.
Quick reference
| Symptom | Most likely cause | Fix |
|---|---|---|
| No drill arrows | One field in the well, or an unsupported visual | Add levels or change the visual |
| No Drill through menu item | Visual lacks the target field | Add the matching column to the visual |
| Target page shows everything | Page opened directly | Use a fallback text and navigate by drill |
| Target page is blank | No relationship, or a page filter removes rows | Fix the relationship or filter |
| Back button inactive | Page not reached by drill-through | Test through a drill, with Ctrl+click in Desktop |
| Tooltip page never appears | Type is Default, or Allow use as tooltip is off | Set Type to Report page |
| Same tooltip for each point | Tooltip well lacks the hovered field | Add the field to the Tooltip well |
| Blank year-over-year value | No date table, or wrong date column | Use a related date table column |
Exercise
A report author builds a drill-through page filtered by Customer[Customer Name]. Users right-click a bar chart that shows Customer[Country] and total sales, and the Drill through option is missing. What is the cause, and what are two ways to fix it?
Show answer
The visual's data point does not carry the Customer Name field, so there is nothing to pass to the page. One fix is to add Customer[Customer Name] to the bar chart, for example as a second level in the axis. The other is to add a drill-through field the chart already uses, such as Customer[Country], to the target page's Drill-through well.
Exercise
A tooltip page works for the category bar chart but shows the grand total for a product-level chart. The tooltip page's Tooltip well has only Product[Category]. Why does this happen, and how do you fix it?
Show answer
The tooltip page filters only by the fields in its Tooltip well. At product level the hovered point carries the product, but the page receives only the category, so it shows category-level data. Add Product[Product Name] to the Tooltip well so the product filter passes to the page.