Please share your sample xml data with parameter tag.
I am assuming that you are using the BI publisher online layout editor. The filter only filters out the data within the table. Filter is not meant to be used to conditionally hide or display regions. If you want to conditionally display or hide table1 or table 2 you can create a RTF template and use logic to achieve that.