Search found 534 matches

by Duncan P
Fri Nov 04, 2011 10:46 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Consolidation of n-level (leaf) elements
Replies: 6
Views: 4966

Re: Consolidation of n-level (leaf) elements

If so, and if you would be happy to maintain a separate dimension with only the leaf items in it, then you could create a cube weight to calculate the contribution of each leaf to the top. It would have the dimensions hierarchy and leaves and the following rule [] = N: IF( !hierarchy @= !leaves, 1, ...
by Duncan P
Fri Nov 04, 2011 10:13 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Consolidation of n-level (leaf) elements
Replies: 6
Views: 4966

Re: Consolidation of n-level (leaf) elements

Is the problem that each leaf item must contribute only once to the top level, regardless of there being potentially multiple parentage paths between it and the top?
by Duncan P
Tue Nov 01, 2011 12:47 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Pick list failed to data spread
Replies: 5
Views: 4262

Re: Pick list failed to data spread

I suppose this is a text cell (S on the last dimension) that you are using. If you set a picklist of non-numeric items on a numeric cell you will get this error message. Perhaps one for John Hammond's list.
by Duncan P
Tue Nov 01, 2011 11:34 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Use middle leaf value for consolidation
Replies: 5
Views: 2983

Re: Use middle leaf value for consolidation

Why not set the element weights on the time dimension so that for normal consolidated periods only the last child period counts? If you need to use the time dimension in another cube that has normal aggregation then create and maintain two time dimensions, one for each method. You might also need on...
by Duncan P
Tue Nov 01, 2011 9:10 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Duplicates in TM1 Extract
Replies: 4
Views: 3649

Re: Duplicates in TM1 Extract

Try this.

Created a calculated measure showing 1 for the rows you want to include and 0 otherwise. Then do an extract on only that measure. Skip 0s but include rule calculated values. Then use CellGetN to get the revenue and volume numbers directly out of the cube for those rows.
by Duncan P
Wed Oct 26, 2011 7:43 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Calculating percentages in tm1.
Replies: 18
Views: 11044

Re: Calculating percentages in tm1.

In this ideally when the user looks at the cube the % should be based on the elements selected and the value for the total months. Thanks. If this is the case why not just divide by the figure for total months, leaving the elements on the other hierarchical dimensions unspecified? ['Amount %','Actu...
by Duncan P
Wed Oct 19, 2011 6:46 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: XQE-EXE-0004 QFWBridge has returned an error: TM1-ERR-0059
Replies: 4
Views: 5208

Re: XQE-EXE-0004 QFWBridge has returned an error: TM1-ERR-00

It look from what you say Bhaskar as though the running of the report is causing the ABCserver service to stop. Can you confirm if this is the case, and if so are you certain?

If it is the case have then what happens if you open the cube in one of the normal TM1 UIs?
by Duncan P
Fri Oct 14, 2011 6:14 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Dinamic Creation of Subsets based on attribute data
Replies: 7
Views: 6694

Re: Dinamic Creation of Subsets based on attribute data

If you are using SubsetCreateByMDX you will need to make sure that the dimension has at least one element that satisfies the MDX condition. If the MDX returns an empty set then the call fails. If you are only creating subsets for the values of the attribute that appear in the current members then yo...
by Duncan P
Fri Oct 14, 2011 9:41 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Testing for current month and prior month
Replies: 2
Views: 1802

Re: Testing for current month and prior month

How about ...

Change the current month source to contain <EDIT>the string</EDIT>

Code: Select all

previous_month | ',' | current_month
then change the test to be

Code: Select all

0 < SCAN( !Year | !Month, DB( ref to current and previous month source ) )
Would that work?
by Duncan P
Fri Oct 14, 2011 8:53 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Sorting of elements
Replies: 2
Views: 1993

Re: Sorting of elements

If you could reply attaching the process (file with .PRO extension) that builds this dimension and the datasource from which it get the members it will be easier to see what the problem is. I am presuming by the way that this is a continuation of the "Filters in TM1" thread.

Cheers,
Duncan.
by Duncan P
Wed Oct 12, 2011 11:43 am
Forum: Useful code, tips and tricks
Topic: How to find an Attribute Type in a TI Process
Replies: 5
Views: 14696

Re: How to find an Attribute Type in a TI Process

Further to what lotsaram said about how they appear in the subset editor, they actually seem to be implemented as string type elements so that if you write a rule on an }ElementAttributes_* cube all the definitions need to be of the form S:. This also has the effect that there is no consolidation of...
by Duncan P
Wed Oct 12, 2011 11:09 am
Forum: Useful code, tips and tricks
Topic: How to find an Attribute Type in a TI Process
Replies: 5
Views: 14696

Re: How to find an Attribute Type in a TI Process

This code works for me in 9.5 and I am pretty sure it did in 9.4 as well. # Type may be AS, AN or AA for string, numeric or alias attribute_type = DTYPE('}ElementAttributes_' | dimension_name, attribute_name); I notice that you talk of an }Element_Attributes with an underscore between Element and At...
by Duncan P
Tue Oct 11, 2011 8:19 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: consolidation multiplication
Replies: 23
Views: 15066

Re: consolidation multiplication

Thanks Steve. It occurred to me last night that this doesn't handle negative numbers at the leaf level. To do this you would need to take the absolute value and keep track of how many minus signs there were. Something like this :- ['isnegative'] = N:IF(0>['data'],1,0); ['iszero'] = N:IF(0=['data'],1...
by Duncan P
Mon Oct 10, 2011 3:48 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: consolidation multiplication
Replies: 23
Views: 15066

Re: consolidation multiplication

Sorry if this is reviving an old post. I came across it in a search for something else and have an alternative answer to the original post. If you create a new measure (called e.g. "logarithm") and calculate it using the "LN" function ['logarithm'] = N:LN(['data']); then at the c...