- Difference Calculation with Dynamic Inputs: The remaining amount specific to each category can be calculated by subtracting the user's expenditures in different categories.
- Use in Chained Calculations:Subtract action can be used with other arithmetic actions (Sum, Multiply, Divide). For example: First all expenses are summed (Sum), then subtracted from the budget (Subtract).
- Visualization of the Result: You can visually present the action result in a Label, Progress Bar or Chart component.
Technical Risks and Controls
- Negative Value Risk: When Value2 is greater than Value, the result may be negative. A Condition action can be added to control this if necessary.
- Empty or Invalid Inputs: Input validations should be added to prevent the user from entering missing or incorrect data.
Subtract action is one of the most frequently used actions in calculation based applications in Kuika platform. It can be used in many scenarios such as budget tracking and calculation of data differences. It adds dynamism to your application by producing powerful results with a simple mathematical operation.