Financial data can be added to Datarails either manually or through system integrations. However, you may encounter scenarios where not all year-to-date data is available:
Monthly Activities Only: you have records of monthly activities but lack the monthly beginning balances.
Beginning Balances Only: you have the beginning balances but no detailed activities data for the months.
To address these gaps, Datarails provides calculation models to automate the creation of monthly figures:
The Cumulative to M model is used when you only have monthly beginning balances and need to generate monthly activities, typically for P&L figures.
Calculation Method
Monthly Activity = YTD Data - Previous YTD Data
Example:
- June 2024 Beginning Balance: $12,000
- May 2024 Beginning Balance: $10,000
- Calculated Activity for May 2024: $2,000
In this example, the model calculates the activity for May 2024 by subtracting the May beginning balance ($10,000) from the June beginning balance ($12,000), resulting in an activity of $2,000.
Create Cumulative to M model
Before creating a new Calculation model, ensure the following conditions are met:
- The table must include a 'Reporting Month' field. This field should represent the end of the month.
- The table must include a 'Data Type' field. The values should be 'Activity' and 'Beginning Balance'.
Steps to Create a New Model
- Go to the left side panel and select 'Calculation Models'.
- Click the plus icon and choose 'Cumulative to M', then click Next.
- In the Input section, select the table from which you want to use data. A list of all table fields will be displayed.
- Drag the desired field to the value section. Default is "Posting Amount" field, but you can change this to any numeric field.
- Add relevant fields to the Filters section and use the filter icon to include or exclude values. Some default fields will be added automatically, which you can adjust as needed.
- In the top right corner, select the model run dates. Set the "From Date" to specify when the model should start running. If needed, set a "To Date" to define when the model should stop.
- Review the Calculation section to see how the model processed your data.
- In the Output section, select the table where you want to extract the data.
- Click the refresh icon or enable the Real-Time Update toggle to preview the calculation results.
- The preview displays new entries created by the model (e.g., for Account ID "1000", Reporting Month = 31/05/2024, Amount = $2,000, Data Type = Activity).
- Columns are color-coded: Purple for table fields, Pink for values, Yellow for custom columns, and Green for lookup fields.
- The Granularity section lists all fields included in the preview. Add relevant fields for detailed insights, but avoid overly detailed fields to maintain performance.
- Click the plus icon in the 'Adding Columns' section to add custom columns.
- In the 'Add Custom Column' window, select a field name from the table and insert a formula in the formula section.
- If you used the 'Posting Amount' as the value in the Input section, tick the Amount box under the 'Adding Columns' section, and adjust the formula.
- Ensure the calculation model contains all relevant data. Click "Save" to finalize the model.
Q&A
How can I verify that the calculation model is functioning correctly?
To verify that the calculation model is functioning correctly, you can create a validation table or widget. Follow steps outlined in the Q&A section of the 'Calculation Models: Beginning Balance One time to M' article. To validate the Cumulative to Monthly calculation model, filter 'Account Group L0' to "P&L" instead of "Balance Sheet" and ensure that Activity figures are created correctly.
© Datarails Ltd. All rights reserved.
Updated
Comments
0 comments
Article is closed for comments.