Users can manually create variables by navigating to the Manual tab located at the top left of the screen. In this section, they can specify a name for the new variable. For example, to scale down a TV-related variable by 1000, the user might name it TV_1000. In the Define Formula field, the specific variable to be modified can be entered. As the user types, the system displays matching variables for easy selection.
After defining the formula, the user can click the Add button on the right side. This action adds the new variable to the list under New Variables on the right side of the screen. For instance, to create a total variable by adding multiple variables, the user can enter the formula (variable1 + variable2 + variable3) and click Add again.
For more complex operations, such as using SQL functions to split a variable by time periods, users can also utilize the Manual tab. For example, to split the variable TV_GRP into different time periods for differential coefficients, a SQL CASE WHEN statement can be employed:
CASE WHEN 'Date' BETWEEN '2017-01-01' AND '2019-12-28' THEN 'variable' ELSE 0 END
In this example, the values in quotes represent respective columns in the data cube. After defining the formula, users should click the Add button to save it. Note that the variables are only saved at this stage; to create them and display them on the Data Classification page, users must click the Generate Variables button located at the bottom right of the page.