Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
![logo](images/sml-logo-large.png)

# SML version 1.4
# SML version 1.5

This is documentation for SML spec version `1.4`. For earlier versions browse the repository tags. Examples:
This is documentation for SML spec version `1.5`. For earlier versions browse the repository tags. Examples:

- [SML version 1.0](https://github.com/semanticdatalayer/SML/tree/v1.0)
- [SML version 1.1](https://github.com/semanticdatalayer/SML/tree/v1.1)
- [SML version 1.2](https://github.com/semanticdatalayer/SML/tree/v1.2)
- [SML version 1.3](https://github.com/semanticdatalayer/SML/tree/v1.3)
- [SML version 1.4](https://github.com/semanticdatalayer/SML/tree/v1.4)

# What is SML?

Expand Down Expand Up @@ -86,6 +87,7 @@ erDiagram
MODEL ||--|{ ROW_SECURITY : "may reference"
DIMENSION ||--|{ ROW_SECURITY : "may reference"
METRIC ||--|{ DATASET : references
METRIC_CALC ||--|{ METRIC_CALC : "may reference"
METRIC_CALC ||--|{ METRIC : "may reference"
METRIC_CALC ||--|{ DIMENSION : "may reference"
DATASET ||--|{ CONNECTION : references
Expand Down
40 changes: 40 additions & 0 deletions sml-reference/dimension.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ namespace Dimensions{
Boolean is_aggregatable
Boolean exclude_from_fact_agg
Array~CustomEmptyMember~ custom_empty_member
Boolean is_excel_pivot_table_property
Boolean is_user_defined_property
}
class MetricalAttribute{
String unique_name
Expand Down Expand Up @@ -295,6 +297,8 @@ namespace Dimensions{
CustomEmptyMember custom_empty_member
Boolean is_hidden
Boolean contains_unique_names
Boolean is_excel_pivot_table_property
Boolean is_user_defined_property
}
class CustomEmptyMember{
Array~String~ key
Expand Down Expand Up @@ -910,6 +914,24 @@ Excludes this attribute from system generated fact-based aggregates. This is use

Defines a custom empty member for the attribute. This feature allows fact data with missing or invalid foreign key values to be isolated and independently aggregated from those with valid foreign key values. Because fact records with invalid foreign keys are aggregated separately from records referencing valid dimension members, analysts can easily spot data integrity problems and further investigate them. Use this feature to ensure that un-joinable values are included in query results and aggregated under a specially designated dimension member called the Custom Empty Member.

## is_excel_pivot_table_property

- **Type:** boolean
- **Required:** N
- **Default:** true
- **Added in** v1.5

If set to false (default true) Excel users are not able to use the attribute in the Pivot Table Designer. Note: The attribute will still be usable with other interfaces like SQL and DAX if the "visible" property is true.

## is_user_defined_property

- **Type:** boolean
- **Required:** N
- **Default:** true
- **Added in** v1.5

If set to true Excel and MDX users can retrieve the attribute as a Member Property using the .Properties function and Property MDX syntax

# Alias Properties

## unique_name
Expand Down Expand Up @@ -1028,6 +1050,24 @@ Supported values:

Defines custom empty member values for the alias. This feature allows fact data with missing or invalid foreign key values to be isolated and independently aggregated from those with valid foreign key values. Because fact records with invalid foreign keys are aggregated separately from records referencing valid dimension members, analysts can easily spot data integrity problems and further investigate them. Use this feature to ensure that un-joinable values are included in query results and aggregated under a specially designated dimension member called the Custom Empty Member.

## is_excel_pivot_table_property

- **Type:** boolean
- **Required:** N
- **Default:** true
- **Added in** v1.5

If set to false (default true) Excel users are not able to use the attribute in the Pivot Table Designer. Note: The attribute will still be usable with other interfaces like SQL and DAX if the "visible" property is true.

## is_user_defined_property

- **Type:** boolean
- **Required:** N
- **Default:** true
- **Added in** v1.5

If set to true Excel and MDX users can retrieve the attribute as a Member Property using the .Properties function and Property MDX syntax

# Metrical Attribute Properties

## unique_name
Expand Down