Use combined concepts in the table layout configuration
As Anastassia,
I want to be able to use the IDs of combined concepts in the default layout annotations and to have the 'Customize layout' UI display the combined concepts instead of the granular dimensions,
So that I have less risks of making mistakes in the definition of annotations and that the end-users can easier move around the combined concepts across the table axes.
Details
The requirement comes from the following comments #873 (comment 1441798729)
From now on, the listing in a default layout annotation of an individual dimension that is part of a combined concept is to be ignored. The following previous table generation rule is to be removed: 'Exception: Any dimension that would normally be part of a virtual component, but that has been placed through the table customisation feature (by default or by the user) into a specific axis (Row Section, Row or Column), which is different from that calculated for the virtual component, will be excluded from the virtual component and be displayed separately/normally. This functional choice has been made to not disturb users who see and place dimensions in the table customisation panel in specific axes.'
The layout selector should display the combined concept in an axis only if at least one of its dimensions has multiple values and would have been shown in the layout selector. In this case, the table axis to be used for the combined concept is the one defined in the default layout annotations. If it is not defined in the these annotations, then the axis to be used is determined according to the remaining rules for the table generation.
Example
<common:Annotation id="@SDMX">
<common:AnnotationTitle>COMBINED_MEASURE</common:AnnotationTitle>
<common:AnnotationType>LAYOUT_ROW</common:AnnotationType>
</common:Annotation>
<common:Annotation id="@SDMX">
<common:AnnotationTitle>COMBINED_UNIT_MEASURE,REF_AREA</common:AnnotationTitle>
<common:AnnotationType>LAYOUT_ROW_SECTION</common:AnnotationType>
</common:Annotation>
<common:Annotation>
<common:AnnotationTitle>COMBINED_MEASURE:TRANSACTION,SECTOR,INSTR_ASSET;COMBINED_UNIT_MEASURE:UNIT_MEASURE,PRICE_BASE,REF_YEAR_PRICE,UNIT_MULT,CURRENCY,TRANSFORMATION</common:AnnotationTitle>
<common:AnnotationType>COMBINED_CONCEPTS</common:AnnotationType>
<common:AnnotationText xml:lang="en">COMBINED_MEASURE:Combined measure;COMBINED_UNIT_MEASURE:Combined unit of measure</common:AnnotationText>
<common:AnnotationText xml:lang="fr">COMBINED_MEASURE:Mesure combinée;COMBINED_UNIT_MEASURE:Unité de mesure combinée</common:AnnotationText>
</common:Annotation>
- Instead of individually showing TRANSACTION, SECTOR and/or INSTR_ASSET, the layout should show a combined dimension COMBINED_MEASURE on the row axis.
- Instead of individually showing UNIT_MEASURE,PRICE_BASE and/or TRANSFORMATION, the layout should show a combined dimension COMBINED_UNIT_MEASURE on the row section axis.