Subset by Values in Other cube

Post Reply
User avatar
vinnusea
Posts: 116
Joined: Thu Sep 23, 2010 6:12 pm
OLAP Product: TM1
Version: 10.2
Excel Version: 2010
Location: San Diego ,CA

Subset by Values in Other cube

Post by vinnusea »

Hi Guys,

Am trying to filter my period subset by values present in Other cube A. in Cube A there are 4 place holders for periods. I want to create a Dynamic subset to filter to only those 4 periods all time.
Ex; Cube intersections are
[Cube A] .([ DIM A].[Element A1], [DIM B].[Element B1])
[Cube A] .([ DIM A].[Element A1], [DIM B].[Element B2])
[Cube A] .([ DIM A].[Element A1], [DIM B].[Element B3])
[Cube A] .([ DIM A].[Element A1], [DIM B].[Element B4])


I am Able To:

Am able to filter my period subset for only one cell value so far but could not do for 4. Here is my code for filtering just 1 value

Code: Select all

{TM1FILTERBYPATTERN( {TM1SUBSETALL( [Period] ) } , [CUBE A].([DIM A].[Element A1] , [DIM B].[Element B1] )  )}
Please help me to filter the period subset with all other 3 cube values.
Thanks in Advance.
Thanks
Vinnusea
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Subset by Values in Other cube

Post by jim wood »

Did you try doing a search on this? If I remember rightly this has been discussed a few times.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Subset by Values in Other cube

Post by jim wood »

Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
User avatar
vinnusea
Posts: 116
Joined: Thu Sep 23, 2010 6:12 pm
OLAP Product: TM1
Version: 10.2
Excel Version: 2010
Location: San Diego ,CA

Re: Subset by Values in Other cube

Post by vinnusea »

Yes sorry guys ... was only thinking to write MDX and filter...
Yes i got it its working.
Appreciated
Thanks
Vinnusea
Post Reply