… Or maybe there is a way to achieve it using calculated fields. Configure the pivot table so that it is like this: Your code can simply work on range("B1") now and the pivot table will be filtered to you required SavedFamilyCode. I've created a pivot table using insert/pivot table. However when you manually sum that column (AD) in the data tab, you get 542. Reading Time: 2 minutes When you create a pivot table (TCD), only the first column offers the option of filtering or sorting. Using PIVOT and UNPIVOT - SQL Server | Microsoft Docs NB: The WHERE clause in your inner SELECT doesn't seem to serve any purpose. The only possible source of the EmpID column is the maEmpPay table, so your filter is looking for records where maEmpPay.EmpID is equal to itself. Re: Pivot table displaying incorrect Column data I think you are right, someone must of typed over the data set with a "d" and it became "d" for all the lines related to it. When I insert a slicer for employees and filter down to one name, I see that 6 rows have 'no' and 10 have 'yes', but when I switch back to the table and use the filter column functionality on the table itself, all 16 rows have 'yes' in them for the same employee. However, when I create a pivot table with more than one item (more than one column from the spreadsheet), the data is incorrect. For example: After filtering pivot table item and removing the filter in SSAS, totals are wrong on CU4, CU5, CU6, or CU7 for SQL Server 2012 SP1, 2014, 2016 SP1, or 2017. I have a Pivot Table with 3 filter Values and 2 Row values. For example, the Pasta Free Butternut Squash Lasagna_L, is showing a sum on the pivot table of 135. Only fix is to type it back to what it was, but that corrupts all the data related to it because now when you change it in your source the typed one does not get updated. I am getting bogus data on a simple pivot table. When I create a simple one item pivot table, data count is correct. Now, if we want to add filters for the other columns, the Filter menu (Data > Filter… Is it possible to somehow ignore a select column from being filtered? Types of Filters in a Pivot Table. Let’s look at these filters one by one: Report Filter: This filter allows you to drill down into a subset of the overall dataset. If you want to filter by columns you could just pass a single column name, or list of names. (I have verified through a manual count from the source spreadsheet.) For example: pd.pivot_table(df, index='v1', columns='A', values='v3', aggfunc='count') pd.pivot_table(df, index='v1', columns=['A', 'B', 'C'], values='v3', aggfunc='count') If you want to filter by values you would just filter the DataFrame. pivot table doesnot showing all the data when filtering .when i filter 10 items in the main source data,but the pivot table showing less than 5 items .i check with the back up data of the previous files but all file headers and its options and formulas are all same. Here is a demo of the types of filters available in a Pivot Table. Example: October 500 clicks November 600 clicks December 1000 clicks I use filter: November. This Pivot looks up values from a table named "Goals". I get a table: To summarise, there is a pivot table looking at a huge chunk of data (to big for excel to be efficient with but that's another story), and every so often once additional data is being added to the source file, The filter on the pivot table begins to tell lies. For example, if you have retail sales data, you can analyze data for each region by selecting one or more than regions (yes, it allows multiple selections as well). The thing is I need a total column for all months. I have a pivot table where I filter the data by month. Sub FilterPivotTable() Application.ScreenUpdating = False ActiveSheet.Range("B1") = "K123224" Application.ScreenUpdating = …