Desktop User Guides > Professional > Table scripting > Table specification syntax > Element properties > Fixing an element’s position in a table
 
Fixing an element’s position in a table
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.
Use the IsFixed property when you want to specify that an element’s position in the axis should be fixed when the table is sorted. For example:
hhsize{HH_1 [Factor=1],
  HH_2 [Factor=2],
  HH_3 [Factor=3],
  HH_4 [Factor=4],
  HH_5 [Factor = 5],
  HH_6 [Factor = 6],
  HH_7 [Factor = 7],
  Mean 'Average number' mean() [IsFixed=True]}
Most special elements have a fixed position for sorting by default. This means that in practice you do not need to set the property on a mean element. For more information, see Sorting special elements.
See also
Element properties