...
You should be able to see how this output reflects the hierarchy above. Indicator 1 is disaggregated by Gender, Indicator 2 is disaggregated by Gender, with Males having the extra AGROUP (Age Group) applied.
IMPORTANT NOTE ABOUT DIMENSION HIERARCHIES: By default, if you have dimensions defined in your KeyFamily in your DSD, all indicators that you don't include in the HY_INDICATOR_DISAGGREGATION hierarchy in your DSD will automatically have all possible dimensions applied to them. So, for example, if you built a DSD with the gender dimension in the KeyFamily, but you didn't explicitly relate Gender to your indicators in HY_INDICATOR_DISAGGREGATION, the result would be that both indicator 1 and 2 would be disaggregated in the result file by Gender. If you only wanted indicator 1 to be disaggregated, but not indicator 2, you need to explicitly say so in the HY_INDICATOR_DISAGGREGATION section, like so:
Code Block |
---|
<structure:Hierarchy id="HY_INDICATOR_DISAGGREGATION"> <structure:Name>Indicator to Disaggregation Hierarchy</structure:Name> <structure:CodeRef> <structure:CodelistAliasRef>AL_INDICATOR</structure:CodelistAliasRef> <structure:CodeID>1</structure:CodeID> <structure:CodeRef> <structure:CodelistAliasRef>AL_GENDER_TRAC</structure:CodelistAliasRef> <structure:CodeID>0</structure:CodeID> </structure:CodeRef> <structure:CodeRef> <structure:CodelistAliasRef>AL_GENDER_TRAC</structure:CodelistAliasRef> <structure:CodeID>1</structure:CodeID> </structure:CodeRef> </structure:CodeRef> <structure:CodeRef> <structure:CodelistAliasRef>AL_INDICATOR</structure:CodelistAliasRef> <structure:CodeID>2</structure:CodeID> </structure:CodeRef> </structure:Hierarchy> |
...