I need to do a subtotal on my cube against cost centre. There isn’t a natural consolidation element that will do this and I’m struggling to find a way to do this either using a websheet or MDX, can anyone help?
I need a total for each cost centre. The employees/jobs have an “all” level but this just repeats for each element and doesn’t give me a one line total.
I've attached screen shots of what it looks like currently and what I need it to do. Any help much appreciated!
Cognos TM1 10.1.1
Subtotal in cube
-
- Posts: 19
- Joined: Wed Sep 28, 2016 1:43 pm
- OLAP Product: Cognos TM1
- Version: 10.1.1
- Excel Version: 2007
Subtotal in cube
- Attachments
-
- Tm1 issue.docx
- (105.24 KiB) Downloaded 277 times
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: Subtotal in cube
It won't if you use the "All" element for just one of those instead of both.missspeedy23 wrote:The employees/jobs have an “all” level but this just repeats for each element and doesn’t give me a one line total.
-
- Posts: 19
- Joined: Wed Sep 28, 2016 1:43 pm
- OLAP Product: Cognos TM1
- Version: 10.1.1
- Excel Version: 2007
Re: Subtotal in cube
I can't use the "All" in the other dimensions because where there is only one element and the total it looks strange as it repeats the total and I literally just want all of the leaf elements in each dimension with one total.It won't if you use the "All" element for just one of those instead of both.
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: Subtotal in cube
I didn't say use the "All" element in both, I said use it in just one of them.missspeedy23 wrote:I can't use the "All" in the other dimensions because where there is only one element and the total it looks strange as it repeats the total and I literally just want all of the leaf elements in each dimension with one total.It won't if you use the "All" element for just one of those instead of both.
-
- Posts: 19
- Joined: Wed Sep 28, 2016 1:43 pm
- OLAP Product: Cognos TM1
- Version: 10.1.1
- Excel Version: 2007
Re: Subtotal in cube
I have tried to use the All in just one (tried each one differently) and it doesn't do what I want hence trying it in all. I've attached what each "all" does and none of them do what I want which is just one total amount.
I didn't say use the "All" element in both, I said use it in just one of them.
- Attachments
-
- Tm1 issue v2.docx
- (55.79 KiB) Downloaded 214 times
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: Subtotal in cube
Then why not just create your own total with a SUM formula in Excel. Leave all the dimensions as leaves and then write a formula at the bottom. Tip: make the formula extend one row beyond the end of the active form.missspeedy23 wrote:none of them do what I want which is just one total amount.
-
- Posts: 19
- Joined: Wed Sep 28, 2016 1:43 pm
- OLAP Product: Cognos TM1
- Version: 10.1.1
- Excel Version: 2007
Re: Subtotal in cube
That just gives me the total of everything whereas I need a total of each individual cost centre in the first dimension row. But that has solved a different problem I had as I wasn't sure if you could do SUM's in a websheet so thanks for that!Then why not just create your own total with a SUM formula in Excel. Leave all the dimensions as leaves and then write a formula at the bottom. Tip: make the formula extend one row beyond the end of the active form.