}DimensionAttributes Issue

Post Reply
mlorini
Posts: 18
Joined: Tue Apr 06, 2021 8:44 pm
OLAP Product: TM1
Version: 2.8
Excel Version: 365

}DimensionAttributes Issue

Post by mlorini »

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
Attachments
DimensionAttributes.JPG
DimensionAttributes.JPG (58.05 KiB) Viewed 3724 times
declanr
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

Post by declanr »

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)

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
mlorini
Posts: 18
Joined: Tue Apr 06, 2021 8:44 pm
OLAP Product: TM1
Version: 2.8
Excel Version: 365

Re: }DimensionAttributes Issue

Post by mlorini »

Thanks so much for your help and advise.
Post Reply