NexJ Logo

Managing variables

Variables are report objects that calculate their value based on parameters, fields, and other variables. Variables store results of the report, including subtotals, sums, or averages, and can be based on conditional expressions. Variables can be used to aggregate field values or calculate desired values that are not defined in the NexJ CRM business model. Use the following syntax to refer to variables in reports: $V{<variableName>}.

For example, variables (<numberOfMales>, <numberOfFemales>) can be used to calculate the amount of male and female contacts. Although this information is not available in the NexJ CRM business model, the variables are capable of identifying the contact's gender attribute and calculating the sums.