Help
Academy
  • INTRODUCTION
  • About Reasy
  • Why Choose Reasy?
  • User Registration
  • Invite & Manage Users
  • GETTING STARTED
    • Create Your First App
    • App Dashboard
    • Workspace
      • Engine Explorer
      • Navigation Explorer
      • Canvas
      • Tools
        • Screen Components
          • Input Elements
          • Containers
          • Texts
          • Buttons
          • Charts
          • Grids
          • Cards
          • Files & Images
          • Custom Components
          • Pre-built Screens
        • Custom Screen Components
        • BPMN Components
        • Data-Driven Plugins
          • Data Sources
            • SQL Plugin
            • Session Plugin
            • MakeServerURL
            • PrivatePDM
            • Logout
            • MethodInvoker
            • UMPlugin
            • APIConsumer
            • EmailReaderPlugin
            • FileReaderPlugin
            • FileWriterPlugin
            • FileDownloadPlugin
            • FileUtils
            • PropertyReader
            • DateUtils
            • JsonUtils
            • JoinPlugin
            • EncryptDecrypt
            • StringUtils
          • Data Display
          • Business Tools
      • Property Editor
        • General Properties
        • Design Properties
    • Engines
      • Screens
        • Responsive Grid System
        • Building App Layout
        • Building Screens
        • Creating Pop-up Screens
        • Events and Actions
        • Importing Screens
          • Importing an HTML
          • Importing a Figma Screen
          • Importing a PDF
          • Importing a Screenshot
          • Importing a Hand-drawn Sketch
          • Text to Screen
        • Manage Screens
      • Data Modeler
        • Setting up a Data Source
        • Creating a Model
          • Adding Computational Formula
          • Adding Validations
        • Importing a Data Model
        • Entity Relationships
        • Exporting a Data Model
      • APIs
        • A Step-by-Step Guide to Build an API
        • Creating an API Service
        • API Configuration
        • Publishing API
        • API Authentication
        • Consuming REST APIs
        • Manage API Services
      • Navigation
        • Layout Setup
        • Creating Microapps
        • Manage Microapps
      • Page
      • Workflow
        • Creating Workflows
        • Workflow Templates
        • Optimizing Complex Workflows
        • Manage Workflows
      • User Management
        • Users
        • Roles
        • Policies
        • Password Policies
        • Data Rules
      • Resources
      • Languages
        • Translating App Language
        • Manage Languages
    • App Management
Powered by GitBook
On this page

Was this helpful?

  1. GETTING STARTED
  2. Engines
  3. Data Modeler
  4. Creating a Model

Adding Computational Formula

This article helps you understand adding a computation formula.

When you require dynamically calculated data, insert an expression in the attribute that calculates and holds the result. This is quite similar to arithmetic calculations using the BODMAS rule.

To understand more, let's look at an example of calculating employees' gross salaries:

Ex: Gross Salary = Net Salary - (Deductions + Taxes)

The Gross salary is calculated by subtracting taxes and deductions from the employee's net salary.

So, we require attributes holding Net salary, taxes, and deductions to be calculated. The movement data is available in these attributes; the "Gross Salary" attribute should calculate and display the derived result. Inserting an expression is as simple as inserting a formula in Excel. Edit the attribute to place a formula for this calculation. Here, short keys help you pick the attributes. Hitting Control + Space on your keyboard displays the attribute list, and Control + M displays the method list. As you see here, create an expression using the required attributes. If you want to enter the attributes manually, use this pattern: @{entityname.attributename}.

PreviousCreating a ModelNextAdding Validations

Last updated 1 year ago

Was this helpful?