TM1 MDX Queries

Post Reply
raid412
Posts: 3
Joined: Wed Nov 20, 2019 4:23 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2016

TM1 MDX Queries

Post by raid412 »

I have an organisation hierarchy which has 3 levels and I need to filter based on the cost centre numbers which is at the lowest level.
However, once the cost centres are filtered I need to then drill each members up and report at the top hierarchy level (excluding the cost centres)

To filter a the lowest level, I used the below MDX,
="{( TM1FILTERBYPATTERN ( {TM1FILTERBYLEVEL ({TM1SUBSETALL([cost_Centre])},0)},""ABC**""))}"

The resultant is now a flat structure and I need it to Rollup to their hierarchy structure.

Appreciate your help in this..

Thanks..
lotsaram
MVP
Posts: 3703
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: TM1 MDX Queries

Post by lotsaram »

Have you looked at the Ancestors function?
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
Post Reply