Skip to main content

Pivot table for Each item in Report Filter - Hidden Feature




The pivot table below shows products across the top and customers down the side. The pivot table is sorted so the largest customers are at the top. The Sales Rep field is in the report filter.

This could be any pivot table, but the Rep field has been added to the Filter area.

If you open the Rep dropdown, you can filter the data to any one sales rep.

The typical way to use the Filter field is to open the dropdown in B1 and choose a sales rep from the list.

This is a great way to create a report for each sales rep. Each report summarizes the revenue from a particular salesperson‘s customers, with the biggest customers at the top. And you get to see the split between the various products.

Here is the pivot table, now showing numbers for the selected sales rep.

The Excel team has hidden a feature called Show Report Filter Pages. Select any pivot table that has a field in the report filter. Go to the Analyze tab (or the Options tab in Excel 2007/2010). On the far left side is the large Options button. Next to the large Options button is a tiny dropdown arrow. Click this dropdown and choose Show Report Filter Pages....

But here is another way to use the Filter field. Change the drop-down in B1 back to (All). Then, look on the left side of the Analyze tab. There is an Options button. To the right of the Options button is a drop-down arrow. Open that and choose Show Report Filter Pages. The other two items in this menu are Options and Generate GetPivotData.

Excel asks which field you want to use. Select the one you want (in this case the only one available) and click OK.

This is the Show Report Filter Pages dialog. It says "Show All Report Filter Pages Of" and then gives you a list of all the fields in the Filter area. In the current case, there is only one field there - Rep. Choose that field and click OK.

Over the next few seconds, Excel starts inserting new worksheets, one for each sales rep. Each sheet tab is named after the sales rep. Inside each worksheet, Excel replicates the pivot table but changes the name in the report filter to this sales rep.

The Show Report Filter Pages command has inserted many new worksheets to the left of the original pivot table. Each worksheet name has the next sales rep name as the sheet name. On each sheet, the Rep drop-down in B1 is showing the appropriate sales rep for that page.

You end up with a report for each sales rep.

This would work with any field. If you want a report for each customer, product, vendor, or something else, add it to the report filter and use Show Report Filter Pages.

Comments

Popular posts from this blog

Basics Of Excel

MS Excel is a massive application, so you need to know the basics which will help you to navigate Excel and access features. Below is the Image of Excel when you open it. There are 5 important areas in the screen. 1. Quick Access Toolbar:  This is a place where all the important tools can be placed. When you start Excel for the very first time, it has only 3 icons (Save, Undo, Redo). But you can add any feature of Excel to to Quick Access Toolbar so that you can easily access it from anywhere (hence the name). 2. Ribbon:  Ribbon is like an expanded menu. It depicts all the features of Excel in easy to understand form. Since Excel has 1000s of features, they are grouped in to several ribbons. The most important ribbons are – Home, Insert, Formulas, Page Layout & Data. 3. Formula Bar:  This is where any calculations or formulas you write will appear. You will understand the relevance of it once you start building formulas. 4. Spreadsheet Grid:  This is where all yo...

Import CSV In Power BI

  Import CSV file Click on Get Data à More à File option and select Text/CSV . Navigate to the CSV file which needs to be imported FL_insurance_sample.csv . Select the file and click on Open. FL_insurance_sampleDownload In the CSV window on top we have 3 dropdowns, preview of data and data load options.  Select Load and it will load to power query editor window. In the Power query editor the CSV file is loaded as a Queries . In power query editor we can edit, clean and transform the file as required. 3 Dropdowns and Data Load File Origin – Type of file origin. By default its 1252 Wester European (Windows). It’s the file type as per OS and region and country. Delimiter – Delimiter for column separation. By default it detects the delimiter from data , If the delimiter is not from the default options then we can select custom delimiter. Data Type Detection – By default it detects data types of columns based on top 200 rows, we can select entire data or do not detect data type ...

Protect Formula Cells

The use of worksheet protection in Excel is a little strange. Using the steps below, you can quickly protect just the formula cells in your worksheet. It seems unusual, but all 16 billion cells on a worksheet start out with their Locked property set to True. You need to unlock all of the cells first: Select all cells by using the icon above and to the left of cell A1. Press  Ctrl+1  (that is the number 1) to open the Format Cells dialog. In the Format Cells dialog, go to the Protection tab. Uncheck Locked. Click OK. While all cells are still selected, select Home, Find & Select, Formulas. At this point, only the formula cells are selected. Press  Ctrl+1  again to display the Format Cells dialog. On the Protection tab, choose Locked to lock all of the formula cells. Locking cells does nothing until you protect the worksheet. On the Review tab, choose Protect Sheet. In the Protect Sheet dialog, choose if you want people to be able to select your formula cells or no...