Department: Sales Team 1
Amount Comment
Sales
Gross Margin
SG&A Expenses
Operating Income
Field Dimensions
Context
Business management work deals not only with amounts and numbers but also with text values, classification values, and the like. Specific examples include:
-
Explanations of budget contents
-
Analysis comments on budget-vs-actual variances
-
Investment details
-
Investment timing (year and month)
-
Investment type (production capacity expansion, major maintenance, etc.)
-
Voucher descriptions
To show the basis for management figures, such non-numeric data is just as important as numeric data, including amounts. It is desirable for the database underlying a management system to be able to hold and report on non-numeric data in the same way as amount and numeric data.
Problem
In the fusion_place multidimensional database, members of the Accounts dimension have a property called "data type." With it, you can specify whether each account is numeric [1] or a text, Boolean, or enumeration value.
In some cases this mechanism is sufficient. In the example above, if you want to register "investment details" for each investment project, you can set up an account "Investment Details" and, for each project number, hold a text string describing the investment details using the "Investment Details" account as a key.
On the other hand, the approach of using accounts to distinguish non-numeric data from numeric data has its limitations, because you may want to hold both an amount and a text value for each account. In that case, you cannot use accounts to distinguish amounts from text values, since a single account has both an amount and a text value. Here is an example of attaching comments to budget amounts:
In this example, an account is assigned to each item on the vertical axis, such as "Sales," "Gross Margin," and so on, so accounts are not suitable for distinguishing "Amount" from "Comment" on the horizontal axis. If you insist on using them anyway, you would need to split the accounts into "Sales_Amount," "Sales_Comment," and so on. In that case, you would end up assigning an account to each cell (the intersection of a row and a column) of the table above. Whether you use forms or Excel-Link, one of the benefits of fusion_place’s user interface features is that you can create practical screens and reports with minimal configuration, but configuring each cell in detail would ruin that.
Therefore, when holding non-numeric data such as comments and classification values in addition to amounts for each account, the user interface configuration must be kept from becoming excessively complex.
Forces
-
Registration effort: If you register combinations of accounts and fields such as "Amount" and "Comment," as in the "Sales_Amount" and "Sales_Comment" example above, then as accounts increase, the number of items (members) to register increases and master data maintenance becomes burdensome. Such a situation should be avoidable
-
Extensibility of fields: Adding items, for example first setting up "Budget Comment" and later adding "Budget-vs-Actual Variance Comment," should not require much effort
-
Resource consumption: Adding fields should not drastically increase the consumption of resources such as memory
-
Restrictions on access paths: Ancillary data such as comments should be accessible as ordinary values in the multidimensional database, without restrictions such as having to access amount data first before reaching the comments. For example, in the example above, it should be easy to display, for a specific account (for example, SG&A Expenses), the comments entered in that account’s row of the department-level tables, listed for all departments
Solution
Distinguish divisions such as "Amount" and "Comment" not by incorporating them into the Accounts dimension, but with a separate dimension: a field dimension. When creating that dimension, set its dimension type to "Note Item".
A field dimension is a dimension for holding data for multiple items that, from the user’s point of view, accompany a single piece of base data. Examples include budget comments and budget-vs-actual variance comments on amounts, and descriptions on voucher amounts. Such data items are not limited to text values such as comments; they may also be quantities (for example, the quantity associated with sales), amounts (for example, consumption tax amounts), or classification values.
Meaning of the dimension type "Note Item"
By fusion_place’s specifications, if you set up a dimension whose dimension type is "Note Item" and a ledger "uses" it, the data type of an account in that ledger can be overridden by the data type of a member of that dimension. That is, by setting the data type of members of the Note Item dimension to text, enumeration, and so on, the data type of the Note Item dimension member takes precedence even if the account is a numeric account (flow or balance value), making it possible to hold non-numeric data. Members of a Note Item dimension can also be given a special data type, "(Account-dependent)", so they can hold flow or balance values according to the data type of the account.
The dimension type is named "Note Item" because it was originally introduced as a mechanism for holding notes on amounts (such as reasons for budget-vs-actual variances). Its uses later expanded, and it became common practice to hold text that cannot be called notes, such as investment purposes, as well as quantities associated with amounts, so the dimension itself is now often called a "field" dimension.
Approaches to applying a field dimension
If you want to hold comments and the like on the data values of a ledger that already exists, there are two approaches.
One approach is to add a field dimension to that ledger. Adding a dimension to a ledger that contains data deletes the data, so in this case data migration is required. The settings of the forms and Excel-Link sheets that use the ledger also need to be modified. In fusion_place, it is not difficult to extract data from or load data into a ledger, and the modifications to the forms and Excel-Link sheets mentioned above are mostly routine; even so, there are cases where you want to avoid modifications.
If you want to avoid data migration and modifications to forms and Excel-Link sheets, there is another approach: keep the original ledger and set up one new ledger. The dimension configuration of the new ledger follows that of the original ledger, with only the field dimension added. With this approach, comment data and the like for the amounts and numbers stored in the original ledger can be stored in the newly created ledger.
Examples
(1) Adding a field dimension to the original ledger
The following is an example of attaching comments on the budget and comments on budget-vs-actual variances, in addition to data values.
| Field Dimension |
|---|
Value [VALUE] …… Holds the data values being commented on |
By setting the data type of "Value" to "(Account-dependent)," it can hold data values according to the data type of the account. The member is named "Value" rather than "Amount" because the data values being commented on may be sales quantities or headcounts and are not limited to amounts. You can set up as many members such as "Budget Comment" and "Budget-vs-Actual Variance Comment" as needed. By setting their data type to "Text," they can hold text strings as values.
A field dimension does not need a member hierarchy, but it can be organized hierarchically for grouping in reports.
(2) Setting up a new ledger and adding a field dimension to it
| Field Dimension |
|---|
Budget Comment [BUDGET_COMMENT] …… Comments on the budget |
In this case, the values are held in the original ledger, so the field dimension does not need a "Value" member. Everything else is the same as in (1).
Consequences
Benefits
-
Registration effort: "Fields" such as "Budget Comment" and "Budget-vs-Actual Variance Comment" can be registered independently of accounts such as "Sales" and "Gross Margin." Since there is no need to register combinations of the two, fewer items (members) need to be registered, and master data maintenance requires little effort
-
Extensibility of fields: You can add types of fields by adding members to the field dimension
-
Resource consumption: Even when fields are added, as with adding an ordinary dimension, the consumption of resources such as memory does not increase drastically unless the number of actual data records (the number of member combinations for which data exists) increases
-
Restrictions on access paths: Comment data is not subordinate to the underlying amount data; it is treated on an equal footing, differing only in its key. In the example above, it is easy to display, for a specific account (for example, SG&A Expenses), the comments entered in that account’s row of the department-level tables, listed for all departments
Liabilities
-
Resource consumption: When there are many fields and many field cells with values other than zero or blank, indexes tend to consume more memory than the data itself. This situation tends to occur when voucher data items are assigned to members of a field dimension and there are many of them. In such cases, applying a dense index to the ledger is likely to reduce the index size
Related Patterns
Preceding Patterns
-
This pattern is a natural extension of "Simple Aggregation Cubes" and "Adjusted Reporting Cubes"