Help me to create a dynamic subset.

Post Reply
initm1
Posts: 32
Joined: Mon Jul 20, 2015 7:19 am
OLAP Product: Microsoft
Version: 10.2
Excel Version: OFFICE365

Help me to create a dynamic subset.

Post by initm1 »

Hi everyone, in a CubeViewer Perspectives I am trying to create a subset where [measure dimension name].[element name] = 'x'.
If this is possible please guide me.

thanks!
TM1.Prespectives.Win7.Office365,Excel2016,Excel2010
User avatar
qml
MVP
Posts: 1097
Joined: Mon Feb 01, 2010 1:01 pm
OLAP Product: TM1 / Planning Analytics
Version: 2.0.9 and all previous
Excel Version: 2007 - 2016
Location: London, UK, Europe

Re: Help me to create a dynamic subset.

Post by qml »

Why do you need this subset to be dynamic? If the selection criteria are that the element name is 'x' then surely a static subset should be enough?
Kamil Arendt
declanr
MVP
Posts: 1831
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: Help me to create a dynamic subset.

Post by declanr »

I assume the OP means when the contents of a cube cell is X for the given measure, in which case something like below will do it:

Code: Select all

{Filter({[MyDimName].members},[cubename].([dim1].[element1],[dim2].[element2],...,[measuresdim].[measureelement])="X")}
Declan Rodger
initm1
Posts: 32
Joined: Mon Jul 20, 2015 7:19 am
OLAP Product: Microsoft
Version: 10.2
Excel Version: OFFICE365

Re: Help me to create a dynamic subset.

Post by initm1 »

thanks for quick reply. Do I need to use this function/syntax in TI or Excel Viewer Subset editor.
TM1.Prespectives.Win7.Office365,Excel2016,Excel2010
initm1
Posts: 32
Joined: Mon Jul 20, 2015 7:19 am
OLAP Product: Microsoft
Version: 10.2
Excel Version: OFFICE365

Re: Help me to create a dynamic subset.

Post by initm1 »

qml wrote:Why do you need this subset to be dynamic? If the selection criteria are that the element name is 'x' then surely a static subset should be enough?
Well I don't have option to manually filter element because this is measure dimension with children.
TM1.Prespectives.Win7.Office365,Excel2016,Excel2010
Post Reply