Professional > Table scripting > Table specification syntax > Element properties > Hiding elements
 
Hiding elements
Sample script file: RDBTables.mrs
This example script is based on the Short Drinks sample data set. See Running the sample table scripts for information on running the example scripts.
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. See Base element for more information.
This example hides the Other element in the sclass variable:
sclass{..Not_work, Other [IsHidden=True]}
Hiding elements that appear in a row or column
You use the IsHiddenWhenRow and IsHiddenWhenColumn properties when you want 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. For more information, see Quanvert MDM custom properties.
See also
Element properties