Refer to this article to link slicer to multiple pivot tables using Java. You will find all the necessary details to set the IDE, a list of steps, and a sample code to connect slicer to multiple pivot tables.... Steps to Use One Slicer for Multiple Pivot Tables...Excel file. Code to Connect One Slicer to Multiple Pivot Tables...