Search found 2 matches

by mikecnz
Wed Oct 17, 2012 12:22 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: MDX returning parents but not filtered n-Level results
Replies: 1
Views: 1503

Re: MDX returning parents but not filtered n-Level results

After more research and assistance from a colleague I have the answer: {HIERARCHIZE( {EXCEPT({DESCENDANTS([DIM].[Parent])},{TM1FILTERBYLEVEL({DESCENDANTS([DIM].[Parent])},0)})} + {TM1FILTERBYLEVEL({FILTER({FILTER({DESCENDANTS([DIM].[Parent])},[DIM].[Attribute1]='XXXX')},[DIM].[Attribute2]='XXXX')},0...
by mikecnz
Tue Oct 16, 2012 6:08 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: MDX returning parents but not filtered n-Level results
Replies: 1
Views: 1503

MDX returning parents but not filtered n-Level results

Hello All I want to create an MDX driven report containing all parents of a set of n-level elements that are filtered by attributes. HIERARCHIZE(FILTER ( GENERATE(Filter( TM1FILTERBYLEVEL( {TM1DRILLDOWNMEMBER( {[DIM].[PARENT]}, ALL, RECURSIVE )}, 0), [DIM].[ATTRIBUTE] = "XXXX"),[DIM].Curre...