Skip to content

Calculate order in footer and tmp tables #225

Discussion options

You must be logged in to vote

It is one of the basics of Totum — calculation order. It is not clear right now because we didn't translate video-course yet.

Calculation order:

Global:

  1. Code
  2. Action code
  3. Selects
  4. Formatting

In part:

  1. Header
  2. Prefilter
  3. Rows part
    • In row by sort of fields
    • Rows by id from min to max
  4. Footer
    • Column footer first
      • Basic mode: by field sort
      • By column mode: by column field sort
    • Other footer by sort of fields

I drew the calculation order for this case:

When you call a value from 80 sort in the Code in a field with 20 sort — it is empty. I think to add a special indicator for similar cases.

When you call a value from Action Codes/Select codes or any kind of Formatting all values exist.

Change

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ttm-alexeypolunin
Comment options

Answer selected by ttm-alexeypolunin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Code Features of codes Cycles All about cycles
2 participants
Converted from issue

This discussion was converted from issue #224 on April 22, 2022 12:23.