Server User Guides > Survey Tabulation > Table specification syntax > Element properties > Hiding elements
 
Hiding elements
You use the IsHidden property when you want to hide an element. Hiding an element is different from removing or excluding the element from an axis, because a hidden element will contribute to any subtotal, total, and other statistical elements, whereas elements that are removed or excluded from an axis will not. However, both hidden and removed and excluded elements will be included in the base. For more information, see Base elements.
This example hides the Other element in the sclass variable:
sclass{..Not_work, Other [IsHidden=True]}
This example is based on the Short Drinks sample data set.
Hiding elements that appear in a row or column
Use the IsHiddenWhenRow and IsHiddenWhenColumn properties to hide an element when it is used in one axis but display it when it is used in the other axis. These properties are useful when you want to override the settings of elements brought in from Quantum using the Quanvert DSC.
You can also use it to create an axis that can be used either on the side or top of a table, where you want to hide an element on one axis but not the other.
This example hides the Other element when it appears on the side axis:
sclass{..Not_work, Other [IsHiddenWhenRow=True]}
See also
Element properties