Dimension picklist link

Post Reply
artikh
Posts: 2
Joined: Fri Mar 17, 2017 11:25 am
OLAP Product: Cognos TM1
Version: 10.2.2
Excel Version: 15

Dimension picklist link

Post by artikh »

Dear all,

i have a cube, and some dimensions related in perspective using picklist.

dimension = DEPT
elements = West, East, South
--------------------------------------------------#
dimension = REG
elements =
West
-- Area1
-- Area2
East
-- Area3
-- Area4
South
-- Area5

in dimension REG, i have subsets:
WEST consist of Area1, Area2
EAST consist of Area3, Area4
SOUTH consist of Area5
-------------------------------------------------#
how can i related DEPT dimension such as West into subset WEST inside dimension REG using picklist?
any idea?

thanks
Wim Gielis
MVP
Posts: 3240
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Dimension picklist link

Post by Wim Gielis »

Hello,

A picklist attribute on the dimension DEPT could be a possibility.
Then put the values subset:REG:West, subset:REG:East, subset:REG:South on the respective elements.
This could be sufficient but I don't know if you have other elements to populate.

Alternatively you could create a picklist cube, containing this as a rule:

Code: Select all

[{'West','East','South'}] = S: 'subset:REG:' | !DEPT;

Of course, in both cases, you see hardcoded regions.
You might want to change that a little bit, or not, see what you think is best given your elements / dimensions.
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
artikh
Posts: 2
Joined: Fri Mar 17, 2017 11:25 am
OLAP Product: Cognos TM1
Version: 10.2.2
Excel Version: 15

Re: Dimension picklist link

Post by artikh »

Wim Gielis wrote:Hello,

A picklist attribute on the dimension DEPT could be a possibility.
Then put the values subset:REG:West, subset:REG:East, subset:REG:South on the respective elements.
This could be sufficient but I don't know if you have other elements to populate.

Alternatively you could create a picklist cube, containing this as a rule:

Code: Select all

[{'West','East','South'}] = S: 'subset:REG:' | !DEPT;

Of course, in both cases, you see hardcoded regions.
You might want to change that a little bit, or not, see what you think is best given your elements / dimensions.
Hi Wim,

thank you for the advance. i've did your steps, and the result is pick list appear in other element of dimension. such as;
dimension:Measure
element:Amount

its quite funny i though. cause, the Amount attribute is null and there's no formulas or anything related to it.
Wim Gielis
MVP
Posts: 3240
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Dimension picklist link

Post by Wim Gielis »

As indicated, you could create a picklist cube, containing a rule as shown.
In that rule, you could limit the measures dimension elements to 1 element - if needed - such that amount does not show the picklist.
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Post Reply