Hello,
Add a option filter. Let's consider you have two options,option A, Option B.
Now for eg: if user selects Option A then display the table with respected columns,
If user selects Option B then display the table with respected columns.
Set the visibility to the tables (for eg: table 1 for Option A, table 2 for option B) using options value based on the option selection corresponding table will display.
Hope it helps!