I am trying to set DIMENSION_TYPE attribute to Geography but I do not have the }DimensionAttributes in my cube. Does anyone know how to find/enable such dimension? I am on IBM® Planning Analytics Workspace 2.0.62
Thanks
}DimensionAttributes Issue
-
- Posts: 18
- Joined: Tue Apr 06, 2021 8:44 pm
- OLAP Product: TM1
- Version: 2.8
- Excel Version: 365
}DimensionAttributes Issue
- Attachments
-
- DimensionAttributes.JPG (58.05 KiB) Viewed 3726 times
-
- MVP
- Posts: 1828
- Joined: Mon Dec 05, 2011 11:51 am
- OLAP Product: Cognos TM1
- Version: PA2.0 and most of the old ones
- Excel Version: All of em
- Location: Manchester, United Kingdom
- Contact:
Re: }DimensionAttributes Issue
The cube is created automatically if you use Performance Modeler, when you don't you can just create it with a TI process and it will work absolutely fine.
However based on your instructions it looks like you are trying to set it so you can work with map charts, I *think* in PAW 62 you no longer actually need to define the Dimension as being GEOGRAPHY and PAW just works that out for you after you select the Legacy Map chart.
Also... according to the roadmap, within the next couple of releases we should have the new map chart type available to us which will allow for much better details etc. (Similar to Maps in Cognos Analytics)
However based on your instructions it looks like you are trying to set it so you can work with map charts, I *think* in PAW 62 you no longer actually need to define the Dimension as being GEOGRAPHY and PAW just works that out for you after you select the Legacy Map chart.
Also... according to the roadmap, within the next couple of releases we should have the new map chart type available to us which will allow for much better details etc. (Similar to Maps in Cognos Analytics)
Code: Select all
#-----------------------------------------------------------------------
# P1/ Set Constants and Variables
#-----------------------------------------------------------------------
cDimName = '}Dimensions';
cDimAttr = '}DimensionAttributes';
cCubeName = cDimAttr;
#-----------------------------------------------------------------------
# P2/ Create Control Cube and Dimension
#-----------------------------------------------------------------------
# Create Dimension
DimensionCreate ( cDimAttr );
DimensionElementInsert ( cDimAttr, '', 'DIMENSION_TYPE', 'S');
DimensionElementInsert ( cDimAttr, '', 'Caption_Default', 'S');
DimensionElementInsert ( cDimAttr, '', 'Caption', 'S');
DimensionElementInsert ( cDimAttr, '', 'DIMENSION_INFO', 'S');
DimensionElementInsert ( cDimAttr, '', 'CORRECT_EXPR', 'N');
# Create Cube
CubeCreate ( cCubeName, cDimName, cDimAttr );
Declan Rodger
-
- Posts: 18
- Joined: Tue Apr 06, 2021 8:44 pm
- OLAP Product: TM1
- Version: 2.8
- Excel Version: 365
Re: }DimensionAttributes Issue
Thanks so much for your help and advise.