Create a Model from Scratch

You can create and design a new empty model so you can focus on the structure first, and work on the data at a later stage.

Context

Procedure

  1. From the Modeler start page, select Model.
  2. Select Start with an empty model.
    The application will generate a model with two default date and version dimensions.
  3. In the left panel, select to set up the model preferences. For more information on model preferences, see Set Up Model Settings.
    1. Planning features are enabled by default. If you want to set up an analytic model instead, select Planning, and then switch Planning Capabilities off.
      For information about planning and analytic models, see Selecting the Right Model for Your Data.
    2. For a planning model, the From and To dates to define the timeline for the data can be changed in the side panel when selecting the date dimension.
    3. If your business fiscal year isn't the same as the calendar year, select the Date Settings tab, switch Fiscal Year on, and then select the other parameters as follows:
      • Choose the starting month of your fiscal year.

      • Choose whether you denote your fiscal year by the calendar year when it starts, or the calendar year when it ends.

      • Choose whether to display fiscal periods or calendar months in stories. For example, quarterly reports cover a fiscal period of three months, while annual reports cover a fiscal period of one year.

      Model data in stories, including tables, charts, value driver trees, input controls, and filters, will display fiscal years instead of calendar years.

    4. Enable any other features you need, such as data auditing or locking, data access control, or currency conversion.
    5. Click OK to save the settings.
    6. For a planning model, in the Model Structure view, select the date dimension to access the side panel and specify the From and To dates to define the timeline for the data.
  4. For an analytic model, the date dimension is optional. You can remove the date dimension by selecting it, and then clicking in the toolbar.
  5. If you want to change the default settings for the date dimension, you can do that now. Select the date dimension, and then in the Dimension Settings panel, review these settings:
    If you're working with a model with an open structure, make sure to click the dimension in the Type column to select it and access these settings.
    1. Set the granularity of the model's timeline – that is, the time period that your data will be based on: year, quarter, month, week, or day.
    2. Choose the default date hierarchy. New story tiles will display this hierarchy by default.
  6. If you're creating an account model, click to add the mandatory account dimension. Select either Add New Dimension to create a new one from scratch, or Add Existing Dimensions to add an account from a list of existing dimensions. For other model configurations, the account dimension is optional. For more information on different configuration possibilities, see Choosing a Model Configuration section in Choosing a Model Configuration.
    If you create an account dimension, you can define it as a public dimension if you want it to be reusable in other models.
  7. Optionally, you can add an organization dimension and other generic dimensions to your model.
    See About Dimensions and Measures for details about the dimension types.
  8. If you're creating a model with an open structure, add one or multiple measures to your model. Click in the Measures section to open the Measure Details panel, and fill in the different fields within the General, Data Type, Aggregations, Units & Currencies and Formatting sections to add a measure.

    Parameter

    Description

    Name

    Type a unique ID for the measure using letters and numbers only.

    Description

    Type a description for the measure to help your users identify it.

    Data Type

    Choose the data type for your measure. The data type restricts the values that the measure can hold:

    • Decimal: Measures have 38 digits precision, combining the integer and fractional parts. The number of decimal places is only limited by the number of digits in the integer part. For example, a measure with 18 decimal places has 20 digits of integer precision. A measure with 7 decimal places has 31 digits of integer precision.

    • Integer: Measures can range from -2^63 to 2^63-1.

    Decimal Places

    If you selected Decimal, choose the number of decimal places supported. Keep in mind that a decimal value can only have a maximum of 38 digits including decimal places.

    Aggregation Type

    Select Sum.

    The aggregation type determines how the measure values are aggregated in hierarchical dimensions. For measures, only Sum is supported as the default, but you can specify other aggregation types for specific dimensions.

    Required Dimensions

    Select and choose the dimensions that you want to be required for the measure.

    If not all required dimensions are in the displayed with the measure, for example in a chart, table, or in the Explorer, users are notified that the measure values could be incorrect.

    Exception Aggregation Type

    Use exception aggregation when you want to aggregate non-cumulative quantities. For example, if you have the quantity Inventory Count, you might want to aggregate the inventory count across all products, but not across time periods, because it doesn't make sense to add up inventory counts from multiple time periods.

    In this case, you would choose the aggregation type SUM for Inventory Count, because you want to add up the inventory counts for all products. But if you don't specify an exception aggregation type, the inventory counts will also be summed across time. To prevent summing inventory counts across time periods, specify an exception aggregation type for the time periods.

    For example, you might want to choose just the most recent set of Inventory Count values. In this case, you would choose the exception aggregation type LAST, and the exception aggregation dimension Date.

    Exception aggregations relate to one or more dimensions. For example, for the AVG and LAST exception aggregations, a Date dimension is appropriate. If you select an exception aggregation type, you must also select an exception aggregation dimension.

    Exception Aggregation Dimension

    Select and choose the dimensions that will use the selected exception aggregation type.

    Units & Currencies

    Use these options to set the currencies for a monetary measure, or the unit displayed for a non-monetary measure.

    Unit Type: Select one of the following options:

    • Unit: Use this option for a non-monetary value where you want to display a fixed unit. Type the unit in Fixed Unit.

    • None: Select this option if you don’t need to include any units.

    • Currency: Use this option for all monetary values, then specify the currencies settings for the measure. For example, for a measure that shows only US dollars, set the Currency to Fixed and type USD.

    These settings don’t just change the units displayed; they also can change how the values are aggregated and which conversion rates apply to the measure.

    Scale

    To improve the presentation of numbers, and hide numbers that are not significant, you can set this attribute to show just integers plus the specified number of decimal places. The unit value is then shown by the appropriate word or by an abbreviation. You can select one of the following options:

    • Thousand (3 numerical places – abbreviation k)

    • Million (6 numerical places – abbreviation M)

    • Billion (9 numerical places – abbreviation G. Note that G is the international standard abbreviation for billion)

    • Percent (% 2)

    This feature is related to the setting of the Unit attribute that determines if the Scale word or just the abbreviated Scale letter is used (see also the example following this table):
    • If Unit is set to Currency, the word selected as the Scale value is used in the output.

    • If Unit is undefined (blank), the abbreviated Scale letter is used.

    Decimal Places

    This setting defines the number of digits displayed after the decimal point.

    Values that have fewer decimal places will match this setting by adding zeros to the end of the value, for example 1.100.

  9. If you're creating a model with an open structure, click in the toolbar to open the model preferences, and under Structure Priority, use the Prioritize properties and calculations from drop down to indicate whether account settings or measure settings should get the priority.
    If you decide to prioritize the account dimension, then all the aggregation definitions, formatting and unit handling are taken from the account dimension. But if you decide to prioritize the measures, everything is taken from the measures. For more information, check out Set Structure Priority and Create Custom Solve Order.
  10. Save the model.
    1. Select a location (for example, a private, public, or workspace folder).
    2. Provide a unique name for your model and an optional description.