- 1 Minute to read
- Print
- DarkLight
- PDF
How to Create Dimensions as Attributes in SpotlightXL
- 1 Minute to read
- Print
- DarkLight
- PDF
The Dimension as Attributes option is beneficial for models with a large number of dimensions and significant data volumes, as it speeds up processing by decreasing the number of active dimensions.
Part 1 Create Attribute
- In SpotlightXL, go to Model > Attribute.
- Select the desired model and dimension.
- Enter a name for the Attribute.
- Enter a following details:
- Member Code
- Member Parent
- Member Display Label
- Click Save.
Part 2 Create DimensionasAttribute
To create a dimension as an attribute you must define 2 lines your map (as shown below). Defining these two lines in the map creates a base dimension with leaf members as well as an attribute with all members (including rollups). For calculations and maps, use the base dimension (which contains leaf members).
- Define the dimension you want to create as an attribute with a source and target filter set to LeafMembers. Defining this line in this way in the map ensures that the dimension is created with all leaf members.
- Define the same dimension as an attribute.
- To complete this step, add line in the map with the following selections:
- Source Dimension - <DimensionAsAttribute>
- Source Filter - <AllMembers>
- Source Value - <Base Dimension Name>
- Target Dimension - <Attribute name> Attribute name can be user defined and should not be the same as the dimension
- Target Filter - <AllMembers> AllMembers is the only filter type supported for DimensionAsAttribute
- Target Value - <Base Dimension Name>
- To complete this step, add line in the map with the following selections:
Base dimension is created with leaf member
Attribute is created with all levels and members
Mapping attribute members to dimension leaf members is essential for utilizing the attribute in analysis and reporting.