Forum Discussion

Dp7's avatar
Dp7
New Member
1 year ago
Solved

Sort Order: How to utilize the Ordinal column for Calculation Groups

  Hello, I am working with Calculation Groups and would like to specify their sort order: I am trying to work with the "Ordinal" column that is automatically created when a new Calculation Gr...
  • OwenAuger's avatar
    1 year ago

    Hi Dp7 

    As you've observed, in a newly created calculation group, the Ordinal property is set to -1 by default for each calculation item created.

    You can change the ordering of calculation items (which has the effect of changing the Ordinal values) by either:

    1. Select the Calculation Items folder in the Model view, and drag/drop the calculation items in the properties pane:

     

    2. Right-clicking a specific calculation item > Move > Up/Down/To top/To bottom:

     

    Once the calculation items have been reordered at least once, they should be assigned Ordinal values 0, 1, 2,...

     

    In Tabular Editor, you can directly edit the Ordinal property of each calculation item.

     

    Regards