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..
TM1 MDX Queries
-
- 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
Have you looked at the Ancestors function?
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.