Maybe this is one step too far for you at this stage, but it shows you one of the many other powerful pivot table features Excel has to offer. To easily compare these numbers, create a pivot chart and apply a filter. Next, to get the total amount exported to each country, of each product, drag the following fields to the different areas.īelow you can find the two-dimensional pivot table. If you drag a field to the Rows area and Columns area, you can create a two-dimensional pivot table. 16 out of the 28 orders to France were 'Apple' orders. Choose the type of calculation you want to use. Right click and click on Value Field Settings.ģ. Click any cell inside the Sum of Amount column.Ģ. To change the type of calculation that you want to use, execute the following steps.ġ. Change Summary Calculationīy default, Excel summarizes your data by either summing or counting the items. Ideally the PowerPivot window should be closed during the refresh. The workbooks pivot tables still require to be refreshed separately, but this too can be automated via an ActiveWorkbook.Connections('PowerPivot Data').Refresh or individual PivotTable refreshes.
Note: you can use the standard filter (triangle next to Row Labels) to only show the amounts of specific products. Linked Excel tables however, appear not to be affected by this. Apples are our main export product to France. Click the filter drop-down and select France. For example, which products do we export the most to France?ġ. Because we added the Country field to the Filters area, we can filter this pivot table by Country.