Skip to main content
This article lists all math functions in YiDA, along with their common use cases.

Function Overview

Common Scenarios

Calculate the Total Amount Across Multiple Line Items

  • In a purchase reimbursement scenario, multiple categories are often reimbursed together. To calculate the total amount across all line items, follow these steps:
(1) Add a subform component to the form (configured with unit price, quantity, and amount), and Add a Numerical or Single-line text component outside the subform. (2) In the amount component inside the subform, configure Subform.Unit price * Subform.Quantity. Then, in the Numerical or Single-line text component outside the subform, configure SUM(Subform.Amount). The result is shown in the animation below.