For both things Slicer adding process is same due to these two things follow the same table.
Step 1: Put the cursor anywhere in a PivotTable reporting area.
Step 2: Then Click on Insert menu and Click on Slicer. Or you can simply Right Click on the Field name which you want as Slicer from PivotTable Fields List.
Step 3: This will add the Year Slicer into your workbook. Resize it and move it by mouse dragging to a suitable location.
Step 1: Put the cursor anywhere in a PivotTable reporting area.
Step 2: Then Click on Insert menu and Click on Slicer. Or you can simply Right Click on the Field name which you want as Slicer from PivotTable Fields List.
Step 3: This will add the Year Slicer into your workbook. Resize it and move it by mouse dragging to a suitable location.
Image 1: Slicer added