A modifier defines the business scope of statistical data. After you create a modifier, you can use it to filter data from multiple dimensions to analyze specific business scenarios, such as "Shanghai area" or "fresh food outlets". You can combine a modifier with an atomic metric and a period to create a derived metric.
Concept description
A modifier is a business qualifier that defines or narrows the business scope of statistical data. For example, if you calculate the sales amount of online channels and fresh food outlets, "online channel" and "fresh food outlet" are the modifiers that define the business scope. A derived metric consists of one or more modifiers, an atomic metric, and a period. This derived metric indicates the status of a specific business activity. For more information, see Derived metric.
Create a modifier
Go to the Modifier page.
Log on to the DataWorks console. In the top navigation bar, select the desired region. In the left-side navigation pane, choose . On the page that appears, select the desired workspace from the drop-down list and click Go to Data Modeling.
On the Data Modeling page, click Data Metric in the top navigation bar. Then, in the navigation pane on the left, click Modifiers to go to the Modifiers page.
Click the
icon to create a modifier.Configure the modifier parameters.
Parameter
Description
Modifier Type
Common Business Modifier: A general and flexible modifier. Its value is usually a custom business tag or text and is not directly associated with a specific dimension table.
Dimension Enumeration Modifier: A structured and managed modifier. Its value must be a member (an enumerated value) from a defined dimension table.
Abbreviation
The English abbreviation of the modifier.
It uniquely identifies the modifier and cannot be changed after creation. For example, fresh_store.
Name
The English name of the modifier. For example, Fresh Food Store Type.
Display Name
The Chinese name of the modifier. For example, fresh food outlet.
Effective Scope
Defines the scope of the business activity for which data is collected. For example, outlets that sell fresh food.
Owner
The owner of the modifier. The default owner is the user who creates the modifier.
Description
The description of the modifier.
Data Layer
Click Advanced Settings and select the data warehouse layer for the modifier: Common Layer or Application Layer.
Mart/Subject
If you set Data warehouse layer to Application Layer, select the mart or subject area for the modifier.
Business Category
If you set Data warehouse layer to Common Layer, use this parameter to associate the modifier with a data domain.
Data Domain
If you set Data warehouse layer to Common Layer, select the data domain for the modifier. Before you configure this parameter, you must create a data domain.
Associated Dimension Table
If you set Modifier type to Dimension Enumeration Modifier, configure the dimension to associate with the modifier.
Dimension Table: Click the drop-down list and select a submitted dimension table. For more information about dimension tables, see Create a logical model: Dimension table.
Dimension Field: After you select a dimension table, select a dimension property from the table as the associated dimension.
Associated Lookup Table
If you set Modifier type to Dimension Enumeration Modifier, configure the lookup table to associate with the modifier.
Lookup table: Click the drop-down list and select a created lookup table. For more information, see Data Standard: Lookup table.
Enumeration value: After you select a lookup table, you can select an encoded value from the lookup table as the enumerated value.
Click Save.
Batch import modifiers
If you have many modifiers to create, you can use the batch import feature. DataWorks provides an import template. You can add the modifiers to the template and then import the file to create them in a batch.
Go to the Modifier page. Move the pointer over the
icon and click Import from Excel.Select Modifier for the Import Type parameter. Download the corresponding template and fill it in with the required information.
NoteAfter you select an import type, you can preview the template information and prepare the content for each field.

On the Data Import tab, upload and preview the data file.
You can choose to preview only the fields that have the same names as existing fields in DataWorks. Then, you can delete or modify the fields with the same names.
Import Mode: If an object in the import file has the same name as an existing object in DataWorks, you can choose to either skip the object or overwrite the existing object.
Import Status:
Import and Save: Imports and saves the data without creating a new version.
Import and Submit: Imports the data and submits a new version for the imported data.
Batch import limits:
File format: Only the
.xlsxformat is supported.Data volume: You can import up to 30,000 data entries at a time.
File size: The file cannot exceed 10 MB.
View the import results.
On the OK tab, you can view the import result details. In the details list, click Details next to a modifier to go to its edit page, where you can perform additional operations. If the import fails, you must resolve the error based on the provided details and then import the file again.
Next steps
A modifier can be combined with an atomic metric and a period to form a derived metric. If a modifier is referenced by a derived metric, you must delete all associated derived metrics before you can delete the modifier. For more information, see Derived metric.