TM1 Top Count
-
- Regular Participant
- Posts: 269
- Joined: Tue Apr 21, 2009 3:43 am
- OLAP Product: Cognos TM1, Planning
- Version: 9.1 SP3 9.4 MR1 FP1 9.5
- Excel Version: 2003
TM1 Top Count
Hi guys, I'd like to ask if any of you guys tried using Top Count 2 for as an example what if 3 items have the same value. I was expecting to be shown the 3 items but I was only presented with 2. However, how are these 2 items identified? Its not by alphabetical nor index number? Can someone give me the answer to this?
-
- MVP
- Posts: 263
- Joined: Fri Jun 27, 2008 12:15 am
- OLAP Product: Cognos TM1, CX
- Version: 9.0 and up
- Excel Version: 2007 and up
Re: TM1 Top Count
Hi,
As far as I know this is pretty much random.
Cheers
P.S. I subsequently found where I have read this:
"Like the TopCount() and BottomCount(), they may pick an arbitrary cutoff when some cells have the same vaues"
MDX Solutios, George Spofford
As far as I know this is pretty much random.
Cheers
P.S. I subsequently found where I have read this:
"Like the TopCount() and BottomCount(), they may pick an arbitrary cutoff when some cells have the same vaues"
MDX Solutios, George Spofford
Last edited by Gregor Koch on Wed Jun 10, 2009 4:07 am, edited 1 time in total.
-
- Regular Participant
- Posts: 269
- Joined: Tue Apr 21, 2009 3:43 am
- OLAP Product: Cognos TM1, Planning
- Version: 9.1 SP3 9.4 MR1 FP1 9.5
- Excel Version: 2003
Re: TM1 Top Count
I'm assuming that as well cause I've checked out all aspect of that item dimension and I can't really figure out how its being shown. But is there any way like you can sort the Top Count by Alphabetical & Index rather than having it be done randomly.
-
- Community Contributor
- Posts: 126
- Joined: Sun Jun 29, 2008 9:33 am
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2016
- Location: Karlsruhe
Re: TM1 Top Count
If you limit the number of result values in your query to 2 you wouldn't expect 3 results, would you? Depending on your analysis scope you may use a FILTER query (value > x) instead of TopCount.
Regards, Marcus
Regards, Marcus
-
- Regular Participant
- Posts: 269
- Joined: Tue Apr 21, 2009 3:43 am
- OLAP Product: Cognos TM1, Planning
- Version: 9.1 SP3 9.4 MR1 FP1 9.5
- Excel Version: 2003
Re: TM1 Top Count
Okay...so its never really a good thing to do top count at all since it limits your filter items which is kinda sucks....but cool...thanks guys for the help.
- Steve Rowe
- Site Admin
- Posts: 2455
- Joined: Wed May 14, 2008 4:25 pm
- OLAP Product: TM1
- Version: TM1 v6,v7,v8,v9,v10,v11+PAW
- Excel Version: Nearly all of them
Re: TM1 Top Count
I guess it depends what you think you are counting.If you limit the number of result values in your query to 2 you wouldn't expect 3 results, would you? Depending on your analysis scope you may use a FILTER query (value > x) instead of TopCount.
1. Count Values - This would return the top 2 values irrespective of the number of elements that this relates too.
2. Count Elements - This would return the top 2 elements, even if they have the same values.
TM1 does 2, I'd argue that this is wrong and misleading.
Personally I would prefer 1, since to me it is more logical, when we do analysis we are testing numbers and the elements are the results of the test on the numbers. It's also more inclusive, with 2 it's easy to draw the wrong conclusion as the system is required to make an arbitrary assumption (which of the three elements in position 2 shall I return as the second best element?), with 1 you would always get the right information.
Just my 2p
Editted - Thanks Andy!
Technical Director
www.infocat.co.uk
www.infocat.co.uk
-
- MVP
- Posts: 352
- Joined: Wed May 14, 2008 1:37 pm
- OLAP Product: TM1
- Version: 2.5 to PA
- Excel Version: Lots
- Location: Sydney
- Contact:
Re: TM1 Top Count
err, I think you've got your 1s and 2s the wrong way round in your argument.
I do agree with you though.
At least, I agree with what I think you meant to say!
Just my 2p or was that 1p...
I do agree with you though.
At least, I agree with what I think you meant to say!
Just my 2p or was that 1p...
Andy Key
-
- Community Contributor
- Posts: 126
- Joined: Sun Jun 29, 2008 9:33 am
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2016
- Location: Karlsruhe
Re: TM1 Top Count
TM1 does what it is told, Steve. If appleglaze writes a function TopCount(<set>, 2), TM1 gives 2 results. If it is forced to make an arbritary decision, then the analyst has to think about other approaches that yield the result he would like to see.TM1 does 2, I'd argue that this is wrong and misleading.
No need to discuss this subject further if we don't need appleglazes' business case.
Regards, Marcus