Using VBA code, I created a pivot table and then added rows, columns and then summation values. Now I need to add a filter to the column. Could you please tell me how to add filters to this column.
Sub Makró2()
With ActiveSheet.PivotTables("Kimutatás1").PivotFields("a")
.PivotItems("asd").Visible = False
.PivotItems("hj").Visible = FalseEndWithEnd Sub