Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Applies to: (tick) Kyvos Enterprise  (tick) Kyvos Cloud (SaaS on AWS) (tick) Kyvos AWS Marketplace

...

You can define hierarchies and levels within your data and add multiple hierarchies to dimensions. Hierarchies are a useful option for reducing the complexity between attributes and help you with drill-down behavior.

Examples of hierarchies include time-date data such as year-month-day, or location such as continent-country-state-city. 

Panel
panelIconIdatlassian-note
panelIcon:note:
bgColor#DEEBFF

Note

  • Kyvos supports naming semantic model entities in the  ENTITY_  format, such as  DIMENSION_,  DIM_,   and  MEASURE_, and so on.

  • Click the information icon next to many of the property names to learn more about that option.

  • You can use the Display Folder to organize hierarchies and view them while browsing a semantic model in Excel. 

Here are some tips on how to use hierarchies in data

...

  1. To specify a parent-child relationship for regular data types, click the Has parent-child relation checkbox. See  Creating parent child hierarchies .

  2. To specify an  alternate path to indicate that there are shared members, select the Has alternate path checkbox.

  3. For date-related data, set the dimension type as Time from the dimension properties.
    This allows you to use pre-defined time settings such as days of the week for the hierarchy.


    1. You can set up a custom calendar by selecting the Custom Calendar checkbox in Hierarchy properties for the Time type hierarchy. It is disabled when a pre-defined hierarchy is defined.

  4. Enter the name of the hierarchy folder in the Display folder field if you want to display it while browsing a semantic model in Excel. You can separate multiple folders with a semicolon (;) and indicate nested folders with a backslash (\).

  5. If you have enabled raw data querying or drilling through, you can specify whether to Materialize the hierarchy using the corresponding checkbox. Yes means the field will be part of the built cubeprocessed semantic model.

  6. Optionally, add a Description of up to 200 characters. This description is used when you hover over the member name when creating worksheets and dashboards.

  7. You can also filter data in hierarchies, using the Filters which are typically below the properties.

...

  1. From the Toolbox, click Semantic Models.

  2. Select a semantic model from the list. Locate the dimension and hierarchy to which you want to add the level.

  3. Right-click the hierarchy and choose Add Level. A new level named Level is added to the hierarchy.

  4. Click the newly added level and view the properties on the right. You can also rename the level. 

    1. Select a Field containing the value of the data from the list. You can type in the search box to find the field quicker.

    2. Select a Display field from the list. You can type in the search box to find the field quicker.

  5. Select a Sort Field for sorting the data.

  6. Select the fields to set Member Properties  and click Settings to customize their settings. You can see how many member properties you select. 

  7. Optionally, for date-related data, select a date data type.

    1. Set this to use pre-defined time settings such as Day of month. You cannot add levels to predefined time type hierarchies.

    2. You can set up a custom calendar by selecting the Custom Calendar checkbox in Hierarchy properties for the Time type hierarchy.

  8. For second-level onwards, if there are parent levels available, use the Qualified Name Includes field to select which parent field data you want to store with the cubesemantic model.
    Click the X in the field to clear it and make a different selection.

  9. To define custom rollup settings, click Custom Rollup Settings in the Level Properties

    1. Select the weight. Navigate to the field you want to use or type into the Search box.

    2. Click Apply.

  10. If you have enabled raw data querying or drilling through, you can specify whether to Materialize the hierarchy or the level using the corresponding checkbox. If you choose Yes, this field will be part of the built cubeprocessed semantic model.

  11. Optionally, you can choose to hide members of lower levels of the hierarchy. See Configuring ragged and unbalanced hierarchies.

  12. Optionally, add a description of up to 200 characters. This description is used when you hover over the member name when creating worksheets and dashboards.

...