|
Home > Pivot > Filters > Troubleshoot Pivot Table Filter Dashboard
|

Have you ever printed or emailed a complex pivot table report, then noticed a problem, 2 minutes later?
Fortunately, AlexJ created pivot table filter dashboard, to help you spot pivot table filter problems, and fix them before you print.

In the sections below, there are details on how to set up your own diagnostic worksheet. Here are the main components for this technique:
| ▶ |
Tip: If you don't need to read the details, head straight to the Download Section, and get a copy of the Excel file, to try it for yourself. |
Thanks to AlexJ, who shared this troubleshooting tool! AlexJ created this summary sheet, because he sends out several monthly reports that are pivot tables, all based on the same source data.
In his monthly report Excel workbook:
To keep things simple, this example only has 3 reports, and a diagnostics sheet, based on fictional data.
In the screen shot below you can see Report A from the sample file.

In the screen shot below you can see Report B from the sample file.

In the screen shot below you can see Report C from the sample file.

In this video you can see the steps for adding a slicer to a pivot table, and then using slicers to filter the data. The written instructions are on the Pivot Table Slicers page.
To print a standard set of reports each month, specific items must be selected in the Slicers for each report.
In the report workbook, there is a master list of Slicer settings, stored on the Diagnostics sheet. These settings are named Setpoints.

To avoid going to each sheet every month, and checking its pivot table Slicers, the Report workbook has a copy of each pivot table on the Diagnostics sheet.

The pivot tables on the Diagnostics sheet are connected to the same Slicers that are on the Report sheets.
Because of that connection, these pivot table filters show the same selections as the original pivot tables.

With the current selections and the Setpoints showing on the Diagnostic sheet, it's easy to identify any reports where the incorrect filters are selected.
For example, in the screen shot below, a simple formula, in cell G18, compares the selection and Setpoint in Report A:
Those items are the same, so the result is TRUE.
However, in Report B, there is a mismatch in the Animal field' filter, so the formula result is FALSE.
Note: Conditional formatting highlights the cells that contain FALSE, so they stand out on the worksheet.

To show a quick summary of the report status, there is a Reports list at the top of the Diagnostics sheet, in cells D9:G12.
The Reports list is formatted as an Excel table, with the name, tblPrint. In that table:
The formula in column G uses a COUNTIFS function, to check the number of FALSE matches, for each report name in column D.
Here is the formula from cell G10:
The formula counts, based on 2 criteria
The formula result is the count of any rows where those 2 criteria are met.
Note: That formula is copied down to cells G11 and G12, to check report names from those rows

Finally, there are two formulas at the top of the sheet, in cells F5 and F7
Those formulas count the number of TRUE and FALSE results in the Ready column of the summary Reports List.
The formula in cell F5 counts the TRUE results, and uses a structured reference to the Ready column:
The formula in cell F7 counts the FALSE results.

Before printing the reports, you can use the pivot tables on the Diagnostics sheet, to correct any mismatched selections.
For example, in Report B, select canine from the Animal field, to match its Setpoint.
Then, after all the reports have been fixed, you can go ahead with the printing.

Last updated: October 26, 2024 3:34 PM