I want to get similar function as Rollup button in Subset Editor in MDX in Activeform to get the total of customized elements. Is that possible?
How to get rollup in MDX
- macsir
- MVP
- Posts: 785
- Joined: Wed May 30, 2012 6:50 am
- OLAP Product: TM1
- Version: PAL 2.0.9
- Excel Version: Office 365
- Contact:
How to get rollup in MDX
Hi, All
I want to get similar function as Rollup button in Subset Editor in MDX in Activeform to get the total of customized elements. Is that possible?
I want to get similar function as Rollup button in Subset Editor in MDX in Activeform to get the total of customized elements. Is that possible?
- Attachments
-
- 2015-09-07 08_35_22- [Private]_.png (16.85 KiB) Viewed 5371 times
-
declanr
- MVP
- Posts: 1833
- 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: How to get rollup in MDX
There are a few ways to go about this including probably a LOT that I am unaware of.
For me the easiest way if you are using a named subset in the active form is to put an extra row in (that is not part of the active form so must reference the same TM1RPTView Statement) and uses the Subset Name as if it were an element name - this then automatically consolidates the data and still performs as if it were a standard TM1 Cube Cell where you can spread over it etc etc etc.
If you are not using a named subset I tend use an excel sum formula (you need to set the range to be below the active form range so that it will expand with it - plenty of other posts on here explaining how/why on that one.)
This will however not allow you to interact with it as per a TM1 cube cell.
For me the easiest way if you are using a named subset in the active form is to put an extra row in (that is not part of the active form so must reference the same TM1RPTView Statement) and uses the Subset Name as if it were an element name - this then automatically consolidates the data and still performs as if it were a standard TM1 Cube Cell where you can spread over it etc etc etc.
If you are not using a named subset I tend use an excel sum formula (you need to set the range to be below the active form range so that it will expand with it - plenty of other posts on here explaining how/why on that one.)
This will however not allow you to interact with it as per a TM1 cube cell.
Declan Rodger
- macsir
- MVP
- Posts: 785
- Joined: Wed May 30, 2012 6:50 am
- OLAP Product: TM1
- Version: PAL 2.0.9
- Excel Version: Office 365
- Contact:
Re: How to get rollup in MDX
Thanks, declanr.
Yes, I agree with your two methods. I just wonder if there is any rollup function in MDX to achieve this directly or not.
Yes, I agree with your two methods. I just wonder if there is any rollup function in MDX to achieve this directly or not.
-
AmbPin
- Regular Participant
- Posts: 173
- Joined: Sat Mar 20, 2010 3:03 pm
- OLAP Product: TM1
- Version: 9.5.2
- Excel Version: 2007-10
Re: How to get rollup in MDX
Have you looked at the MDX Primer document that I am sure you will find quite easily on the interweb. It is an excellent reference.
- macsir
- MVP
- Posts: 785
- Joined: Wed May 30, 2012 6:50 am
- OLAP Product: TM1
- Version: PAL 2.0.9
- Excel Version: Office 365
- Contact:
Re: How to get rollup in MDX
Hi, AmbPin. Yes, I have googled almost all possible MDX documents in TM1 including this one but can't find anything useful.AmbPin wrote:Have you looked at the MDX Primer document that I am sure you will find quite easily on the interweb. It is an excellent reference.
