Dynamically Showing/Hiding Vertical Axes Variables

I have a cross table with multiple values, it's horizontal axis as "Column Names", and its Vertical axis as "Functional Level" followed by "Product." I am trying to create a drop down Property Control for this Cross Table that has two options. The first option will be "Do Not View Product" and the second option will be "View Product". By switching between these two options, you can either have the Product field appear on the Vertical Axis when "View Product" is chosen, or you can view the table without Product and only view it by the Functional Level.

I have encountered this post for showing/hiding columns but I have had trouble adapting it for my particular issue. Is there a better and more clear answer than this?  https://community.tibco.com/questions/how-showhide-columns-dynamically-t...



(1) Answer