Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AnalyticalContext.DerivedDimension #367

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 3 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
5 changes: 5 additions & 0 deletions vocabularies/Analytics.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@
"$DefaultValue": true,
"@Core.Description": "The property holds the key of a dimension"
},
"DerivedDimension": {
"$Type": "Core.Tag",
"$DefaultValue": true,
"@Core.Description": "The value of the dimension is completely determined by the values of other dimensions"
},
"Measure": {
"$Type": "Core.Tag",
"$DefaultValue": true,
Expand Down
5 changes: 3 additions & 2 deletions vocabularies/Analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,6 @@ Property|Type|Description
[Property](Analytics.xml#L147)|PropertyPath?|Property that is part of the analytical context
[DynamicProperty](Analytics.xml#L150)|AnnotationPath?|Dynamic property introduced by annotations that is part of the analytical context<br>Allowed Terms:<ul><li>[AggregatedProperty](#AggregatedProperty)</li><li>[CustomAggregate](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Aggregation.V1.md#CustomAggregate)</li></ul>
[Dimension](Analytics.xml#L159)|[Tag](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Tag)|The property holds the key of a dimension
[Measure](Analytics.xml#L162)|[Tag](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Tag)|The property holds the numeric value of a measure
[AccumulativeMeasure](Analytics.xml#L165)|[Tag](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Tag)|The measure has non-negative and additive values; it can be used in whole-part charts, e.g. the Donut
[DerivedDimension](Analytics.xml#L162)|[Tag](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Tag)|The value of the dimension is completely determined by the values of other dimensions
[Measure](Analytics.xml#L165)|[Tag](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Tag)|The property holds the numeric value of a measure
[AccumulativeMeasure](Analytics.xml#L168)|[Tag](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Tag)|The measure has non-negative and additive values; it can be used in whole-part charts, e.g. the Donut
3 changes: 3 additions & 0 deletions vocabularies/Analytics.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@
<Property Name="Dimension" Type="Core.Tag" Nullable="false" DefaultValue="true">
<Annotation Term="Core.Description" String="The property holds the key of a dimension" />
</Property>
<Property Name="DerivedDimension" Type="Core.Tag" Nullable="false" DefaultValue="true">
<Annotation Term="Core.Description" String="The value of the dimension is completely determined by the values of other dimensions" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be useful to know what the other dimensions are?

Copy link
Contributor Author

@HeikoTheissen HeikoTheissen Feb 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the "other dimensions" exactly the "ContextDefiningProperties"? Then we can specify that here.

</Property>
<Property Name="Measure" Type="Core.Tag" Nullable="false" DefaultValue="true">
<Annotation Term="Core.Description" String="The property holds the numeric value of a measure" />
</Property>
Expand Down