Skip to content

Commit b9eec07

Browse files
V1.5 atscale 28484 excel pivot definittions (#39)
* v1.5 ATSCALE-28484 excel pivot definitions * rename attributes * fix: added doc for level alias * fix: object reference diagram. metric calc may reference another metric calc * fix: description * change on readme * fix: PR comments
1 parent 46ff6f7 commit b9eec07

File tree

2 files changed

+44
-2
lines changed

2 files changed

+44
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
![logo](images/sml-logo-large.png)
22

3-
# SML version 1.4
3+
# SML version 1.5
44

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

77
- [SML version 1.0](https://github.com/semanticdatalayer/SML/tree/v1.0)
88
- [SML version 1.1](https://github.com/semanticdatalayer/SML/tree/v1.1)
99
- [SML version 1.2](https://github.com/semanticdatalayer/SML/tree/v1.2)
1010
- [SML version 1.3](https://github.com/semanticdatalayer/SML/tree/v1.3)
11+
- [SML version 1.4](https://github.com/semanticdatalayer/SML/tree/v1.4)
1112

1213
# What is SML?
1314

@@ -86,6 +87,7 @@ erDiagram
8687
MODEL ||--|{ ROW_SECURITY : "may reference"
8788
DIMENSION ||--|{ ROW_SECURITY : "may reference"
8889
METRIC ||--|{ DATASET : references
90+
METRIC_CALC ||--|{ METRIC_CALC : "may reference"
8991
METRIC_CALC ||--|{ METRIC : "may reference"
9092
METRIC_CALC ||--|{ DIMENSION : "may reference"
9193
DATASET ||--|{ CONNECTION : references

sml-reference/dimension.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ namespace Dimensions{
229229
Boolean is_aggregatable
230230
Boolean exclude_from_fact_agg
231231
Array~CustomEmptyMember~ custom_empty_member
232+
Boolean is_excel_pivot_table_property
233+
Boolean is_user_defined_property
232234
}
233235
class MetricalAttribute{
234236
String unique_name
@@ -295,6 +297,8 @@ namespace Dimensions{
295297
CustomEmptyMember custom_empty_member
296298
Boolean is_hidden
297299
Boolean contains_unique_names
300+
Boolean is_excel_pivot_table_property
301+
Boolean is_user_defined_property
298302
}
299303
class CustomEmptyMember{
300304
Array~String~ key
@@ -910,6 +914,24 @@ Excludes this attribute from system generated fact-based aggregates. This is use
910914

911915
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.
912916

917+
## is_excel_pivot_table_property
918+
919+
- **Type:** boolean
920+
- **Required:** N
921+
- **Default:** true
922+
- **Added in** v1.5
923+
924+
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.
925+
926+
## is_user_defined_property
927+
928+
- **Type:** boolean
929+
- **Required:** N
930+
- **Default:** true
931+
- **Added in** v1.5
932+
933+
If set to true Excel and MDX users can retrieve the attribute as a Member Property using the .Properties function and Property MDX syntax
934+
913935
# Alias Properties
914936

915937
## unique_name
@@ -1028,6 +1050,24 @@ Supported values:
10281050

10291051
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.
10301052

1053+
## is_excel_pivot_table_property
1054+
1055+
- **Type:** boolean
1056+
- **Required:** N
1057+
- **Default:** true
1058+
- **Added in** v1.5
1059+
1060+
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.
1061+
1062+
## is_user_defined_property
1063+
1064+
- **Type:** boolean
1065+
- **Required:** N
1066+
- **Default:** true
1067+
- **Added in** v1.5
1068+
1069+
If set to true Excel and MDX users can retrieve the attribute as a Member Property using the .Properties function and Property MDX syntax
1070+
10311071
# Metrical Attribute Properties
10321072

10331073
## unique_name

0 commit comments

Comments
 (0)