Add slicers to tables
Refer to the following example code to see how to create slicer for a table.